RibbonGalleryCategoryDataAutomationPeer Constructor
Initializes a new instance of the RibbonGalleryCategoryDataAutomationPeer class.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Sub New ( _
owner As Object, _
itemsControlAutomationPeer As ItemsControlAutomationPeer _
)
public RibbonGalleryCategoryDataAutomationPeer(
Object owner,
ItemsControlAutomationPeer itemsControlAutomationPeer
)
public:
RibbonGalleryCategoryDataAutomationPeer(
Object^ owner,
ItemsControlAutomationPeer^ itemsControlAutomationPeer
)
new :
owner:Object *
itemsControlAutomationPeer:ItemsControlAutomationPeer -> RibbonGalleryCategoryDataAutomationPeer
public function RibbonGalleryCategoryDataAutomationPeer(
owner : Object,
itemsControlAutomationPeer : ItemsControlAutomationPeer
)
Parameters
- owner
Type: System.Object
The element associated with this automation peer.
- itemsControlAutomationPeer
Type: System.Windows.Automation.Peers.ItemsControlAutomationPeer
The automation peer that is associated with the RibbonGallery that holds the RibbonGalleryCategory.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.