Class AppointmentItemAutomationPeer
Represents the Automation Peer for the current Appointment item.
Inherited Members
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class AppointmentItemAutomationPeer : AutomationPeerBase<AppointmentItem>, IScrollItemProvider, ISelectionItemProvider, IInvokeProvider
Constructors
AppointmentItemAutomationPeer(AppointmentItem)
Initializes a new instance of the AppointmentItemAutomationPeer class.
Declaration
public AppointmentItemAutomationPeer(AppointmentItem owner)
Parameters
AppointmentItem
owner
|
Properties
IsSelected
Gets the IsSelected property of the Appointment Item.
Declaration
public bool IsSelected { get; }
Property Value
System.Boolean
|
SelectionContainer
Gets the selection container provider.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
System.Windows.Automation.Provider.IRawElementProviderSimple
|
Methods
AddToSelection()
Adds the current element to the collection of selected items.
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value. |
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType().
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String
The type of the control. |
GetPattern(PatternInterface)
Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
A value from the enumeration. |
Returns
System.Object
An object that implements the System.Windows.Automation.Provider.ISynchronizedInputProvider interface if patternInterface is System.Windows.Automation.Peers.PatternInterface.SynchronizedInput; otherwise, null. |
Invoke()
Sends a request to activate a control and initiate its single, unambiguous action.
Declaration
public void Invoke()
RemoveFromSelection()
Removes the current element from the collection of selected items.
Declaration
public void RemoveFromSelection()
ScrollIntoView()
Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.
Declaration
public void ScrollIntoView()
Select()
Deselects any selected items and then selects the current element.
Declaration
public void Select()