Class MonthCellAutomationPeer
Represents the class that exposes the MonthCell to UI automation.
Inheritance
System.Object
MonthCellAutomationPeer
Implements
System.Windows.Automation.Provider.IGridProvider
System.Windows.Automation.Provider.ISelectionItemProvider
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.SfScheduler.WPF.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 |
---|
System.Windows.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 |
---|
System.Windows.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. |
GetPattern(PatternInterface)
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Automation.Peers.PatternInterface | patternInterface |
Returns
Type |
---|
System.Object |
RemoveFromSelection()
Declaration
public void RemoveFromSelection()
Select()
Declaration
public void Select()
Implements
System.Windows.Automation.Provider.IGridProvider
System.Windows.Automation.Provider.ISelectionItemProvider