Share via


RibbonControlService.IsInControlGroup Attached 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
See GetIsInControlGroup
See GetIsInControlGroup
See GetIsInControlGroup
See GetIsInControlGroup
See GetIsInControlGroup

Property Value

Type: System.Boolean
true if the control is hosted in a RibbonControlGroup; 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

IsInControlGroupProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonControlService Class

Microsoft.Windows.Controls.Ribbon Namespace