RibbonGroup.IsCollapsed Property
Gets a value that indicates whether the ribbon group is collapsed.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property IsCollapsed As Boolean
public bool IsCollapsed { get; internal set; }
public:
property bool IsCollapsed {
bool get ();
internal: void set (bool value);
}
member IsCollapsed : bool with get, internal set
function get IsCollapsed () : boolean
internal function set IsCollapsed (value : boolean)
Property Value
Type: System.Boolean
true if the group is collapsed; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
Remarks
In the collapsed state, a ribbon group looks and behaves like a menu button.
The following illustration shows a ribbon with the Clipboard, Paragraph, and Insert groups in their collapsed state. When a group is collapsed into a menu button, its largest size variation is shown when the drop-down is opened.
.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.
See Also
Reference
Microsoft.Windows.Controls.Ribbon Namespace