Back to Devexpress

TdxCustomOrgChart.EditMode Property

vcl-dxorgchr-dot-tdxcustomorgchart-b51f6bb8.md

latest1.8 KB
Original Source

TdxCustomOrgChart.EditMode Property

Specifies the control’s text-related settings.

Declaration

delphi
property EditMode: TdxOcEditMode read; write; default [emWrap];

Property Value

Type
TdxOcEditMode

Remarks

Set one or more of the following flags to customize the control’s text-related functionality. Options include:

ValueDescription
emLeftText is left-aligned in the node’s client area. The emLeft , emCenter , and emRight flags are mutually exclusive.
emCenterText is centered within the node’s client area.
emRightText is right-aligned in the node’s client area.
emVCenterText is vertically centered within the node’s client area. If the text does not fit into the client area horizontally, only the first text line is visible.
emWrapEnables text wrapping. Set this flag to fit the text without expanding the client area horizontally. If you want to display large texts, use the emWrap and emGrow flags simultaneously.
emUpperConverts all lowercase characters to uppercase. The emUpper and emLower flags contradict with each other.
emLowerConverts all uppercase characters to lowercase.
emGrowSet this flag to fit the text by expanding the client area vertically. This flag has an effect only for wrapped texts.

The default value of the EditMode property is [emWrap].

See Also

TdxCustomOrgChart.HideEditor

TdxCustomOrgChart.ShowEditor

TdxCustomOrgChart Class

TdxCustomOrgChart Members

dxorgchr Unit