expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelcommonmemberviewitem-165b4391.md
Specifies a display format pattern for a Property Editor‘s value.
Namespace : DevExpress.ExpressApp.Model
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[ModelBrowsable(typeof(ListEditorsVisibilityCalculator))]
string DisplayFormat { get; set; }
<ModelBrowsable(GetType(ListEditorsVisibilityCalculator))>
Property DisplayFormat As String
| Type | Description |
|---|---|
| String |
A display format pattern for a Property Editor’s value.
|
The default DisplayFormat value is the IModelRegisteredPropertyEditor.DefaultDisplayFormat property value.
Use the Model Editor to set the DisplayFormat property value as described in the following article: Format a Property Value.
See the following topic for more information on how to specify a display format pattern: PropertyEditor.DisplayFormat.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayFormat property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
xaf-win-gantt-control/CS/XPO/GanttSolutionXPO/GanttSolutionXPO.Win/Editors/CustomGanttEditor.cs#L73
ganttColumn.SortIndex = column.SortIndex;
ganttColumn.Format.FormatString = column.DisplayFormat;
ganttColumn.Format.FormatType = DevExpress.Utils.FormatType.Custom;
See Also
IModelCommonMemberViewItem Interface