Back to Devexpress

RibbonForm.AllowDraggingByPageCategory Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonform-c7186497.md

latest2.6 KB
Original Source

RibbonForm.AllowDraggingByPageCategory Property

Gets or sets whether an end-user is allowed to drag the RibbonForm window by a page category caption.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowDraggingByPageCategory { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowDraggingByPageCategory As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

The DefaultBoolean value that specifies whether window dragging by a page category caption is allowed.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

The AllowDraggingByPageCategory property specifies whether it is allowed to drag the window by a page category caption displayed in the window header. See the Categories and Contextual Tabs topic for details on custom page category display.

If the AllowDraggingByPageCategory property is set to DefaultBoolean.Default, the dragging by a page category permission depends on the operating system. It is allowed in Windows 8 and Windows 10, but otherwise prohibited

See Also

Categories and Contextual Tabs

Text

RibbonForm Class

RibbonForm Members

DevExpress.XtraBars.Ribbon Namespace