Class RichItemContainerAutomationPeer
Namespace: RichCanvas.Automation
Assembly: RichCanvas.dll
Exposes the RichCanvas.RichCanvasContainer to UI Automation project.
public class RichItemContainerAutomationPeer : SelectorItemAutomationPeer, IVirtualizedItemProvider, ISelectionItemProvider, IValueProvider
Inheritance
object ← DispatcherObject ← AutomationPeer ← ItemAutomationPeer ← SelectorItemAutomationPeer ← RichItemContainerAutomationPeer
Implements
IVirtualizedItemProvider, ISelectionItemProvider, IValueProvider
Inherited Members
SelectorItemAutomationPeer.GetPattern(PatternInterface), ItemAutomationPeer.GetAcceleratorKeyCore(), ItemAutomationPeer.GetAccessKeyCore(), ItemAutomationPeer.GetAutomationIdCore(), ItemAutomationPeer.GetBoundingRectangleCore(), ItemAutomationPeer.GetChildrenCore(), ItemAutomationPeer.GetClickablePointCore(), ItemAutomationPeer.GetHeadingLevelCore(), ItemAutomationPeer.GetHelpTextCore(), ItemAutomationPeer.GetItemStatusCore(), ItemAutomationPeer.GetItemTypeCore(), ItemAutomationPeer.GetLabeledByCore(), ItemAutomationPeer.GetLiveSettingCore(), ItemAutomationPeer.GetNameCore(), ItemAutomationPeer.GetOrientationCore(), ItemAutomationPeer.GetPattern(PatternInterface), ItemAutomationPeer.GetPositionInSetCore(), ItemAutomationPeer.GetSizeOfSetCore(), ItemAutomationPeer.HasKeyboardFocusCore(), ItemAutomationPeer.IsContentElementCore(), ItemAutomationPeer.IsControlElementCore(), ItemAutomationPeer.IsDialogCore(), ItemAutomationPeer.IsEnabledCore(), ItemAutomationPeer.IsKeyboardFocusableCore(), ItemAutomationPeer.IsOffscreenCore(), ItemAutomationPeer.IsPasswordCore(), ItemAutomationPeer.IsRequiredForFormCore(), ItemAutomationPeer.SetFocusCore(), ItemAutomationPeer.Item, ItemAutomationPeer.ItemsControlAutomationPeer, AutomationPeer.GetAcceleratorKey(), AutomationPeer.GetAcceleratorKeyCore(), AutomationPeer.GetAccessKey(), AutomationPeer.GetAccessKeyCore(), AutomationPeer.GetAutomationControlType(), AutomationPeer.GetAutomationControlTypeCore(), AutomationPeer.GetAutomationId(), AutomationPeer.GetAutomationIdCore(), AutomationPeer.GetBoundingRectangle(), AutomationPeer.GetBoundingRectangleCore(), AutomationPeer.GetChildren(), AutomationPeer.GetChildrenCore(), AutomationPeer.GetClassName(), AutomationPeer.GetClassNameCore(), AutomationPeer.GetClickablePoint(), AutomationPeer.GetClickablePointCore(), AutomationPeer.GetControlledPeers(), AutomationPeer.GetControlledPeersCore(), AutomationPeer.GetHeadingLevel(), AutomationPeer.GetHeadingLevelCore(), AutomationPeer.GetHelpText(), AutomationPeer.GetHelpTextCore(), AutomationPeer.GetHostRawElementProviderCore(), AutomationPeer.GetItemStatus(), AutomationPeer.GetItemStatusCore(), AutomationPeer.GetItemType(), AutomationPeer.GetItemTypeCore(), AutomationPeer.GetLabeledBy(), AutomationPeer.GetLabeledByCore(), AutomationPeer.GetLiveSetting(), AutomationPeer.GetLiveSettingCore(), AutomationPeer.GetLocalizedControlType(), AutomationPeer.GetLocalizedControlTypeCore(), AutomationPeer.GetName(), AutomationPeer.GetNameCore(), AutomationPeer.GetOrientation(), AutomationPeer.GetOrientationCore(), AutomationPeer.GetParent(), AutomationPeer.GetPattern(PatternInterface), AutomationPeer.GetPeerFromPoint(Point), AutomationPeer.GetPeerFromPointCore(Point), AutomationPeer.GetPositionInSet(), AutomationPeer.GetPositionInSetCore(), AutomationPeer.GetSizeOfSet(), AutomationPeer.GetSizeOfSetCore(), AutomationPeer.HasKeyboardFocus(), AutomationPeer.HasKeyboardFocusCore(), AutomationPeer.InvalidatePeer(), AutomationPeer.IsContentElement(), AutomationPeer.IsContentElementCore(), AutomationPeer.IsControlElement(), AutomationPeer.IsControlElementCore(), AutomationPeer.IsDialog(), AutomationPeer.IsDialogCore(), AutomationPeer.IsEnabled(), AutomationPeer.IsEnabledCore(), AutomationPeer.IsKeyboardFocusable(), AutomationPeer.IsKeyboardFocusableCore(), AutomationPeer.IsOffscreen(), AutomationPeer.IsOffscreenCore(), AutomationPeer.IsPassword(), AutomationPeer.IsPasswordCore(), AutomationPeer.IsRequiredForForm(), AutomationPeer.IsRequiredForFormCore(), AutomationPeer.ListenerExists(AutomationEvents), AutomationPeer.PeerFromProvider(IRawElementProviderSimple), AutomationPeer.ProviderFromPeer(AutomationPeer), AutomationPeer.RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs), AutomationPeer.RaiseAutomationEvent(AutomationEvents), AutomationPeer.RaiseNotificationEvent(AutomationNotificationKind, AutomationNotificationProcessing, string, string), AutomationPeer.RaisePropertyChangedEvent(AutomationProperty, object, object), AutomationPeer.ResetChildrenCache(), AutomationPeer.SetFocus(), AutomationPeer.SetFocusCore(), AutomationPeer.EventsSource, AutomationPeer.IsHwndHost, DispatcherObject.Dispatcher, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
RichItemContainerAutomationPeer(object, SelectorAutomationPeer)
Initializes a new RichCanvas.Automation.RichItemContainerAutomationPeer for a RichCanvas.RichCanvasContainer in RichCanvas.RichCanvas.Items collection.
public RichItemContainerAutomationPeer(object item, SelectorAutomationPeer itemsControlAutomationPeer)
Parameters
item
object
The data item associated with a RichCanvas.RichCanvasContainer inside a RichCanvas.RichCanvas
itemsControlAutomationPeer
SelectorAutomationPeer
Owner RichCanvas.Automation.RichItemsControlAutomationPeer
Properties
Container
Gets the RichCanvas.RichCanvasContainer that is associated with this RichCanvas.Automation.RichItemContainerAutomationPeer.
protected RichCanvasContainer Container { get; }
Property Value
IsReadOnly
Gets a value that specifies whether the value of a control is read-only.
public bool IsReadOnly { get; }
Property Value
OwnerItemsControl
Gets the RichCanvas.RichCanvas that is associated with this RichCanvas.Automation.RichItemContainerAutomationPeer.
protected RichCanvas OwnerItemsControl { get; }
Property Value
Value
Gets the serialized json value of RichCanvas.Automation.ControlInformations.RichItemContainerData containing data about the associated RichCanvas.RichCanvasContainer.
public string Value { get; }
Property Value
Methods
GetAutomationControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
The control type.
GetClassNameCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
protected override string GetClassNameCore()
Returns
The class name.
GetPattern(PatternInterface)
Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
A value in the enumeration.
Returns
If patternInterface
is System.Windows.Automation.Peers.PatternInterface.Selection, this method returns the current instance of this System.Windows.Automation.Peers.SelectorItemAutomationPeer.
SetValue(string)
Sets the value of a control.
public void SetValue(string value)
Parameters
value
string
The value to set. The provider is responsible for converting the value to the appropriate data type.
Exceptions
If locale-specific information is passed to a control in an incorrect format such as an incorrectly formatted date.
If a new value cannot be converted from a string to a format the control recognizes.
When an attempt is made to manipulate a control that is not enabled.