Class MonthCellAutomationPeer
Represents the class that exposes the MonthCell to UI automation.
Inheritance
System.Object
MonthCellAutomationPeer
Implements
Microsoft.UI.Xaml.Automation.Provider.IGridProvider
Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class MonthCellAutomationPeer : FrameworkElementAutomationPeer, IGridProvider, ISelectionItemProvider
Constructors
MonthCellAutomationPeer(MonthCell)
Initializes a new instance of the MonthCellAutomationPeer class.
Declaration
public MonthCellAutomationPeer(MonthCell monthCell)
Parameters
Type | Name | Description |
---|---|---|
MonthCell | monthCell | The month cell. |
Properties
ColumnCount
Declaration
public int ColumnCount { get; }
Property Value
Type |
---|
System.Int32 |
IsSelected
Declaration
public bool IsSelected { get; }
Property Value
Type |
---|
System.Boolean |
RowCount
Declaration
public int RowCount { get; }
Property Value
Type |
---|
System.Int32 |
SelectionContainer
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple |
Methods
AddToSelection()
Declaration
public void AddToSelection()
GetItem(Int32, Int32)
Declaration
public IRawElementProviderSimple GetItem(int row, int column)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | |
System.Int32 | column |
Returns
Type |
---|
Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple |
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
Type |
---|
System.String |
GetNameCore()
Gets the text label of MonthCell that is associated with MonthCellAutomationPeer.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the text label of MonthCell. |
GetPatternCore(PatternInterface)
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Automation.Peers.PatternInterface | patternInterface |
Returns
Type |
---|
System.Object |
RemoveFromSelection()
Declaration
public void RemoveFromSelection()
Select()
Declaration
public void Select()
Implements
Microsoft.UI.Xaml.Automation.Provider.IGridProvider
Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider