Dela via


RatingItemImageInfo Class

Definition

Represents information about the visual states of image elements that represent a rating.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class RatingItemImageInfo : RatingItemInfo
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RatingItemImageInfo : RatingItemInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class RatingItemImageInfo : RatingItemInfo
function RatingItemImageInfo()
Public Class RatingItemImageInfo
Inherits RatingItemInfo
<RatingItemImageInfo/>
Inheritance
Object IInspectable DependencyObject RatingItemInfo RatingItemImageInfo
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Constructors

RatingItemImageInfo()

Initializes a new instance of the RatingItemImageInfo class.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.-ctor (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Properties

DisabledImage

Gets or sets an image that represents a rating element that is disabled.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.DisabledImage (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

DisabledImageProperty

Identifies the DisabledImage dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.DisabledImageProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)
Image

Gets or sets an image that represents a rating element that has been set by the user.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.Image (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ImageProperty

Identifies the Image dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.ImageProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PlaceholderImage

Gets or sets an image that represents a rating element that is showing a placeholder value.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.PlaceholderImage (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PlaceholderImageProperty

Identifies the PlaceholderImage dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.PlaceholderImageProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PointerOverImage

Gets or sets an image that represents a rating element that has the pointer over it.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.PointerOverImage (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PointerOverImageProperty

Identifies the PointerOverImage dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.PointerOverImageProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PointerOverPlaceholderImage

Gets or sets an image that represents a rating element showing a placeholder value with the pointer over it.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.PointerOverPlaceholderImage (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PointerOverPlaceholderImageProperty

Identifies the PointerOverPlaceholderImage dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.PointerOverPlaceholderImageProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

UnsetImage

Gets or sets an image that represents a rating element that has not been set.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.UnsetImage (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

UnsetImageProperty

Identifies the UnsetImage dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo.UnsetImageProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Methods

ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
SetValue(DependencyProperty, Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

Applies to