Class RatingAutomationPeer
Exposes SfRating control to UI Automation.
Inheritance
System.Object
RatingAutomationPeer
Implements
Microsoft.UI.Xaml.Automation.Provider.IValueProvider
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class RatingAutomationPeer : FrameworkElementAutomationPeer, IValueProvider
Constructors
RatingAutomationPeer(SfRating)
Initializes a new instance of the RatingAutomationPeer class.
Declaration
public RatingAutomationPeer(SfRating control)
Parameters
Type | Name | Description |
---|---|---|
SfRating | control | The owner element. |
Properties
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
---|
System.Boolean |
Value
Declaration
public string Value { get; }
Property Value
Type |
---|
System.String |
Methods
GetAutomationControlTypeCore()
Provides the RatingAutomationPeer behavior when a Microsoft UI Automation client calls GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.Automation.Peers.AutomationControlType | Returns the enum value of type Microsoft.UI.Xaml.Automation.Peers.AutomationControlType. |
GetNameCore()
Provides the RatingAutomationPeer behavior when a Microsoft UI Automation client calls GetName.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | Returns a string value. |
GetPatternCore(PatternInterface)
Gets the control pattern that is associated with the specified Microsoft.UI.Xaml.Automation.Peers.PatternInterface.
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Automation.Peers.PatternInterface | patternInterface | The instance of Microsoft.UI.Xaml.Automation.Peers.PatternInterface. |
Returns
Type | Description |
---|---|
System.Object | Returns the instance of Microsoft.UI.Xaml.Automation.Peers.PatternInterface. |
SetValue(String)
Declaration
public void SetValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Implements
Microsoft.UI.Xaml.Automation.Provider.IValueProvider