Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a container for DropDownGallery drop-down menu layouts.
Usage
<DropDownGallery.MenuLayout>
child elements
</DropDownGallery.MenuLayout>
Attributes
There are no attributes.
Child elements
| Element | Description |
|---|---|
| FlowMenuLayout |
Must occur exactly once |
| VerticalMenuLayout |
Must occur exactly once |
Parent elements
| Element |
|---|
| DropDownGallery |
Remarks
Optional.
May occur at most once for each DropDownGallery element.
Note
A maximum of one child element (VerticalMenuLayout or FlowMenuLayout) is allowed.
Examples
The following example demonstrates the basic markup for the DropDownGallery.
This section of code shows the DropDownGallery.MenuLayout control declaration.
<!-- DropDownGallery -->
<Group CommandName="cmdDropDownGalleryGroup">
<DropDownGallery CommandName="cmdDropDownGallery"
TextPosition="Hide"
Type="Commands"
ItemHeight="32"
ItemWidth="32">
<DropDownGallery.MenuLayout>
<FlowMenuLayout Rows="2"
Columns="3"
Gripper="None"/>
</DropDownGallery.MenuLayout>
<DropDownGallery.MenuGroups>
<MenuGroup>
<Button CommandName="cmdButton1"></Button>
<Button CommandName="cmdButton2"></Button>
</MenuGroup>
<MenuGroup>
<Button CommandName="cmdButton3"></Button>
</MenuGroup>
</DropDownGallery.MenuGroups>
</DropDownGallery>
</Group>
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 7 [desktop apps only] |
| Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |