Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
DianeXceed edited this pageJun 20, 2017 ·2 revisions

Rating

Only available in the Plus Edition

Derives from ItemsControl

Setting the Value property will highlight the corresponding RatingItem icons.

Properties

PropertyDescription
ActiveBorderControlGets or sets the Brush for the outer border (Stroke) of the icons that are in the active state.
ActiveFillColorGets or sets the Brush to use to fill in the interior area of icons that are in the active state.
CustomPathGets or sets the custom path for the icons to use.
FillDirectionGets or sets the direction of the fill used by the Rating control. This useful when Precision is set to Half or Exact. You can have the icons fill from left to right, top to bottom, and other directions. Please note, this is independent of the Orientation that determines the direction icons are drawn next to each other.
IconHeightGets or sets the height of the icons, in pixels.
IconPaddingGets or sets the padding between each icon.
IconStrokeThicknessGets or sets the icon border's Stroke thickness. The Stroke represents the outer border.
InactiveBorderGets or sets the Brush for the outer border of icons that are in the inactive state.
InactiveFillColorGets or sets the Brush for the outer border of icons that are in the inactive state.
ItemsCountGets or sets the total number of icons.
HoverBorderColorGets or sets the Brush for the outer border of icons that are in the hover state.
HoverFillColorGets or sets the Brush for the outer border of icons that are in the hover state.
IconTypeGets or sets the predefined or custom shape used to draw the icons.
LabelPositionGets or sets the position of the labels with respect to the their associated icons. If set to Before, The label will appear above (Horizontal Orientation) or to the left (Vertical Orientation) of the icon. If set toAfter, the label will appear under (Horizontal Orientation) or to the right (Vertical Orientation) of the icon.
PrecisionGets or sets a value representing the type of precision to use. When set to Full, icons are never partially filled. They can either be filled or not. When set to Exact, icons will be partially filled to try to exactly represent the Rating control's Value property.When set to Half, the can be filled, half filled, or not filled at all, rounded up. For example, if ItemCount is 5, and the Value is 2.1, then the first two icons will be fully filled, and the third will be half filled.
OrientationGets or sets the orientation of the icons. This determines the direction that icons are drawn next to each other. Use FillDirection to determine afterwards if you want the icons to go from left to right, right to left, top to bottom, or bottom to top.
ReadOnlyGets or sets a value indicating whether the input control is read-only.
ShowLabelsGets or sets if the labels should be displayed.
ShowValueTooltipGets or sets if the value tooltip should be displayed.
ValueGets or sets the current rating value.
ValueTypeGets or sets the type of value used. When set to Exact, the Rating’s Value will represent the exact icon value. For example, a value of 3 would mean that the first 3 icons are filled, no matter how many icons there are in total. When set to Percentage, the Rating’s Value represents a percentage value (Min=0.0, Max = 1.0). For example, a value of 0.50 would mean that the first 50% is filled (if the Rating control has 5 stars, then the Value would represent the first 3.5 icons).

Events

EventDescription
RatingValueChangedRaised when the Value has been changed.
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp