Share via


RibbonButton.IsInControlGroup Property

Gets a value that indicates whether the control is hosted in a RibbonControlGroup.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property IsInControlGroup As Boolean
public bool IsInControlGroup { get; internal set; }
public:
property bool IsInControlGroup {
    bool get ();
    internal: void set (bool value);
}
member IsInControlGroup : bool with get, internal set
function get IsInControlGroup () : boolean
internal function set IsInControlGroup (value : boolean)

Property Value

Type: System.Boolean
true if the control is hosted in a RibbonControlGroup; otherwise, false.

Dependency Property Information

Identifier field

IsInControlGroupProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonButton Class

Microsoft.Windows.Controls.Ribbon Namespace