Attached Properties

  • 2 minutes to read

The DXNavBar control exposes a set of attached properties, which can be used by different child elements, and are useful for customizing the control layout and scrolling behavior.

Layout

Property

Getter/Setter Methods

Property Type

Property Value(s)

Description

NavBarViewBase.DisplayMode

NavBarViewBase.GetDisplayMode / NavBarViewBase.SetDisplayMode

DisplayMode

DisplayMode.ImageAndText

DisplayMode.Image

DisplayMode.Text

For internal use. This is an attached property.

NavBarViewBase.ImageSettings

NavBarViewBase.GetImageSettings / NavBarViewBase.SetImageSettings

ImageSettings

ImageSettings.Height

ImageSettings.Width

ImageSettings.Stretch

ImageSettings.StretchDirection

For internal use. This is an attached property.

NavBarViewBase.LayoutSettings

NavBarViewBase.GetLayoutSettings / NavBarViewBase.SetLayoutSettings

LayoutSettings

LayoutSettings.ImageDocking

LayoutSettings.ImageHorizontalAlignment

LayoutSettings.ImageVerticalAlignment

LayoutSettings.TextHorizontalAlignment

LayoutSettings.TextVerticalAlignment

For internal use. This is an attached property.

NavBarPositionPanel.GroupPosition

NavBarPositionPanel.GetGroupPosition

GroupPosition

GroupPosition.First

GroupPosition.Last

GroupPosition.Middle

GroupPosition.Single

Gets a value that identifies a group's position within the control.

Scrolling

Property

Getter/Setter Methods

Property Type

Property Value(s)

Description

ScrollingSettings.ClickMode

ScrollingSettings.GetClickMode / ScrollingSettings.SetClickMode

ClickMode

Release

Press

Hover

Gets or sets a value that specifies how scroll buttons should be manipulated by an end-user to initiate scrolling. This is an attached property.

ScrollingSettings.AccelerationRatio

ScrollingSettings.GetAccelerationRatio / ScrollingSettings.SetAccelerationRatio

Double

A double-precision floating-point number.

Gets or sets the acceleration ratio of the scrolling speed (in pixels per second squared), when scrolling using scroll buttons. This is an attached property.

ScrollingSettings.DecelerationRatio

ScrollingSettings.GetDecelerationRatio / ScrollingSettings.SetDecelerationRatio

Double

A double-precision floating-point number.

Gets or sets the deceleration ratio of the scrolling speed (in pixels per second squared), when scrolling using scroll buttons. This is an attached property.

ScrollingSettings.ScrollSpeed

ScrollingSettings.GetScrollSpeed / ScrollingSettings.SetScrollSpeed

Double

A double-precision floating-point number.

Gets or sets the speed of scrolling (in pixels per second). This property is in effect when scrolling using scroll buttons. This is an attached property.

ScrollingSettings.TopBottomIndent

ScrollingSettings.GetTopBottomIndent / ScrollingSettings.SetTopBottomIndent

Double

A double-precision floating-point number.

Gets or sets the top and bottom indents of the scrollable region. This is an attached property.