MenuFlyoutPresenterAutomationPeer Class

MenuFlyoutPresenter 型を Microsoft UI オートメーションに公開します。

継承

Object
  DependencyObject
    AutomationPeer
      FrameworkElementAutomationPeer
        ItemsControlAutomationPeer
          MenuFlyoutPresenterAutomationPeer

構文


public class MenuFlyoutPresenterAutomationPeer : ItemsControlAutomationPeer

属性

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]
[WebHostHidden()]

メンバー

MenuFlyoutPresenterAutomationPeerクラス には次の種類のメンバーがあります。

コンストラクター

MenuFlyoutPresenterAutomationPeerクラス にはこれらのコンストラクターがあります。

コンストラクター説明
MenuFlyoutPresenterAutomationPeer Initializes a new instance of the MenuFlyoutPresenterAutomationPeer class.

 

メソッド

The MenuFlyoutPresenterAutomationPeer クラス には次のメソッドがあります。 また、以下からもメソッドが継承されます。Object クラス.

メソッド説明
ClearValue Clears the local value of a dependency property. (継承元 DependencyObject)
FindItemByProperty Retrieves an element by the specified property value. (継承元 ItemsControlAutomationPeer)
GetAcceleratorKey Gets the accelerator key combinations for the object that is associated with the UI Automation peer. (継承元 AutomationPeer)
GetAcceleratorKeyCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAcceleratorKey or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetAccessKey Gets the access key for the element that is associated with the automation peer. (継承元 AutomationPeer)
GetAccessKeyCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAccessKey or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (継承元 DependencyObject)
GetAutomationControlType Gets the control type for the element that is associated with the UI Automation peer. (継承元 AutomationPeer)
GetAutomationControlTypeCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAutomationControlType or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetAutomationId Gets the AutomationId of the element that is associated with the automation peer. (継承元 AutomationPeer)
GetAutomationIdCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAutomationId or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetBoundingRectangle Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer. (継承元 AutomationPeer)
GetBoundingRectangleCore Provides the peer's behavior when a Microsoft UI Automation client calls GetBoundingRectangle or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetChildren Gets the collection of child elements that are represented in the UI Automation tree as immediate child elements of the automation peer. (継承元 AutomationPeer)
GetChildrenCore Provides the peer's behavior when a Microsoft UI Automation client calls GetChildren or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetClassName Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer. (継承元 AutomationPeer)
GetClassNameCore Provides the peer's behavior when a Microsoft UI Automation client calls GetClassName or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetClickablePoint Gets a point on the element that is associated with the automation peer that responds to a mouse click. (継承元 AutomationPeer)
GetClickablePointCore Provides the peer's behavior when a Microsoft UI Automation client calls GetClickablePoint or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetControlledPeers Provides the peer's behavior when a Microsoft UI Automation client calls GetControlledPeers or an equivalent Microsoft UI Automation client API such as getting a property value as identified by UIA_ControllerForPropertyId. (継承元 AutomationPeer)
GetControlledPeersCore Gets a list of the controlled peers for the current automation peer. (継承元 AutomationPeer)
GetHelpText Gets text that describes the functionality of the control that is associated with the automation peer. (継承元 AutomationPeer)
GetHelpTextCore Provides the peer's behavior when a Microsoft UI Automation client calls GetHelpText or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetItemStatus Gets text that conveys the visual status of the element that is associated with this automation peer. (継承元 AutomationPeer)
GetItemStatusCore Provides the peer's behavior when a Microsoft UI Automation client calls GetItemStatus or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetItemType Gets a string that describes what kind of item an element represents. (継承元 AutomationPeer)
GetItemTypeCore Provides the peer's behavior when a Microsoft UI Automation client calls GetItemType or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetLabeledBy Gets the AutomationPeer for the UIElement that is targeted to the element. (継承元 AutomationPeer)
GetLabeledByCore Provides the peer's behavior when a Microsoft UI Automation client calls GetLabeledBy or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetLiveSetting Gets the live setting notification behavior information for the object that is associated with the UI Automation peer. (継承元 AutomationPeer)
GetLiveSettingCore Provides the peer's behavior when a Microsoft UI Automation client calls GetLiveSetting or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetLocalizedControlType Gets a localized string that represents the AutomationControlType value for the control that is associated with this automation peer. (継承元 AutomationPeer)
GetLocalizedControlTypeCore Provides the peer's behavior when a Microsoft UI Automation client calls GetLocalizedControlType or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetName Gets text that describes the element that is associated with this automation peer. The Microsoft UI Automation Name value is the primary identifier used by most assistive technology when they represent your app's UI by interacting with the Microsoft UI Automation framework. (継承元 AutomationPeer)
GetNameCore Provides the peer's behavior when a Microsoft UI Automation client calls GetName or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetOrientation Gets a value that indicates the explicit control orientation, if any. (継承元 AutomationPeer)
GetOrientationCore Provides the peer's behavior when a Microsoft UI Automation client calls GetOrientation or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetParent Gets the AutomationPeer that is the parent of this AutomationPeer. (継承元 AutomationPeer)
GetPattern Gets the control pattern that is associated with the specified PatternInterface. (継承元 AutomationPeer)
GetPatternCore Provides the peer's behavior when a Microsoft UI Automation client calls GetPattern or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetPeerFromPoint Gets an AutomationPeer from the specified point. (継承元 AutomationPeer)
GetPeerFromPointCore Provides the peer's behavior when a Microsoft UI Automation client calls GetPeerFromPoint or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (継承元 DependencyObject)
HasKeyboardFocus Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus. (継承元 AutomationPeer)
HasKeyboardFocusCore Provides the peer's behavior when a Microsoft UI Automation client calls HasKeyboardFocus or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
InvalidatePeer Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the automation client if the properties have changed. (継承元 AutomationPeer)
IsContentElement Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user. (継承元 AutomationPeer)
IsContentElementCore Provides the peer's behavior when a Microsoft UI Automation client calls IsContentElement or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
IsControlElement Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI. (継承元 AutomationPeer)
IsControlElementCore Provides the peer's behavior when a Microsoft UI Automation client calls IsControlElement or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
IsEnabled Gets a value that indicates whether the element associated with this automation peer supports interaction. (継承元 AutomationPeer)
IsEnabledCore Provides the peer's behavior when a Microsoft UI Automation client calls IsEnabled or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
IsKeyboardFocusable Gets a value that indicates whether the element can accept keyboard focus. (継承元 AutomationPeer)
IsKeyboardFocusableCore Provides the peer's behavior when a Microsoft UI Automation client calls IsKeyboardFocusable or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
IsOffscreen Gets a value that indicates whether an element is off the screen. (継承元 AutomationPeer)
IsOffscreenCore Provides the peer's behavior when a Microsoft UI Automation client calls IsOffscreen or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
IsPassword Gets a value that indicates whether the element contains sensitive content. (継承元 AutomationPeer)
IsPasswordCore Provides the peer's behavior when a Microsoft UI Automation client calls IsPassword or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
IsRequiredForForm Gets a value that indicates whether the element that is associated with this peer must be completed on a form. (継承元 AutomationPeer)
IsRequiredForFormCore Provides the peer's behavior when a Microsoft UI Automation client calls IsRequiredForForm or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
PeerFromProvider Gets an AutomationPeer for the specified IRawElementProviderSimple proxy. (継承元 AutomationPeer)
ProviderFromPeer Gets the IRawElementProviderSimple proxy for the specified AutomationPeer. (継承元 AutomationPeer)
RaiseAutomationEvent Raises an automation event. (継承元 AutomationPeer)
RaisePropertyChangedEvent Raises an event to notify the automation client of a changed property value. (継承元 AutomationPeer)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (継承元 DependencyObject)
SetFocus Sets the keyboard focus on the element that is associated with this automation peer. (継承元 AutomationPeer)
SetFocusCore Provides the peer's behavior when a Microsoft UI Automation client calls SetFocus or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)
SetValue Sets the local value of a dependency property on a DependencyObject. (継承元 DependencyObject)
ShowContextMenu Shows the available context menu for the owner element. (継承元 AutomationPeer)
ShowContextMenuCore Provides the peer's behavior when a Microsoft UI Automation client calls ShowContextMenu or an equivalent Microsoft UI Automation client API. (継承元 AutomationPeer)

 

プロパティ

MenuFlyoutPresenterAutomationPeerクラス には次のプロパティがあります。

プロパティアクセスの種類説明

Dispatcher

読み取り専用Gets the CoreDispatcher that this object is associated with. (継承元 DependencyObject)

EventsSource

読み取り/書き込みGets or sets an AutomationPeer that is reported to the automation client as the source for all the events that come from this AutomationPeer. See Remarks. (継承元 AutomationPeer)

Owner

読み取り専用Gets the UIElement owner that is associated with this FrameworkElementAutomationPeer. (継承元 FrameworkElementAutomationPeer)

 

解説

Windows ランタイム MenuFlyoutPresenter クラスは、新しい MenuFlyoutPresenterAutomationPeer をその OnCreateAutomationPeer 定義として作成します。MenuFlyoutPresenter からカスタム クラスを派生させ、カスタム クラスで有効にした追加機能のオートメーションのサポートを追加する場合は、オートメーション ピアを MenuFlyoutPresenterAutomationPeer から派生させます。次に、カスタム ピアを返すように OnCreateAutomationPeer をオーバーライドします。

MenuFlyoutPresenterAutomationPeer での既定のピア実装とオーバーライド

MenuFlyoutPresenterAutomationPeer には、関連付けられた AutomationPeer メソッドがピア固有情報を UI オートメーション クライアントに提供する Core メソッドのオーバーライドがあります。

このピアには基底クラス ItemsControlAutomationPeer があり、上に示したオーバーライド以外のその動作を継承します。これは、 IItemContainerProvider および、場合によっては IScrollProvider のパターン サポートを含みます。詳細については、「ItemsControlAutomationPeer」を参照してください。

ピアには、FrameworkElementAutomationPeer 基底クラスによって提供される他の動作もあります。詳細については、「カスタム オートメーション ピア」の「FrameworkElementAutomationPeer の基本実装」を参照してください。

要件

最小限サポートされるクライアント

Windows 8.1 [Windows ストア アプリのみ]

最小限サポートされるサーバー

Windows Server 2012 R2 [Windows ストア アプリのみ]

名前空間

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

メタデータ

Windows.winmd

参照

ItemsControlAutomationPeer
IItemContainerProvider
MenuFlyoutPresenter

 

 

表示:
© 2015 Microsoft