RibbonPageGroup.AllowTextClipping Property

Gets or sets whether to clip the group's text when there's not enough space to display it entirely, or to expand the group to accommodate the entire text.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowTextClipping { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowTextClipping As Boolean

Property Value

Type Default Description
Boolean

true

true if the group's text is clipped when there's not enough space to display it entirely; false if the group's width is increased to accommodate the group's entire text.

Remarks

A group's contents determine the group's width. Adding and removing bar item links automatically increases and reduces the group's width. By default, the group's text specified by the RibbonPageGroup.Text property doesn't affect the group's width. If the text is too long, it's clipped.

To prevent text from being clipped, set the AllowTextClipping property to false. In this instance, the group's width will be increased to display the entire text.

See Also