Editar

Partilhar via


UIElement3DAutomationPeer.GetItemStatusCore Method

Definition

Returns a string that communicates the status of the UIElement3D that is associated with this UIElement3DAutomationPeer. This method is called by GetItemStatus().

protected:
 override System::String ^ GetItemStatusCore();
protected override string GetItemStatusCore ();
override this.GetItemStatusCore : unit -> string
Protected Overrides Function GetItemStatusCore () As String

Returns

The status of the UIElement3D that is associated with this UIElement3DAutomationPeer.

Remarks

Return a string that indicates whether the UIElement3D is conveying status about an item. For example, an item associated with a contact in a messaging application might be "Busy" or "Connected".

This method calls the AutomationProperties.GetItemStatus method to get the value. AutomationProperties.GetItemStatus returns a value only when the AutomationProperties.ItemStatus property is set. You can override GetItemStatusCore and add logic to provide the item status in a way that makes sense for your UIElement3D.

UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to