Back to Devexpress

ButtonEditSettings.IsTextEditable Property

wpf-devexpress-dot-xpf-dot-editors-dot-settings-dot-buttoneditsettings-be7c41b5.md

latest4.6 KB
Original Source

ButtonEditSettings.IsTextEditable Property

Gets or sets whether end-users are allowed to edit the text displayed in the edit box. This is a dependency property.

Namespace : DevExpress.Xpf.Editors.Settings

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool? IsTextEditable { get; set; }
vb
Public Property IsTextEditable As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true, to allow end-users to edit the text displayed in the edit box; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to IsTextEditable
TokenEditorBehavior

.NewTokenEditSettings .IsTextEditable

| | TokenEditorBehavior |

.TokenEditSettings .IsTextEditable

|

Remarks

See ButtonEdit.IsTextEditable for details.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsTextEditable 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.

wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L91

xml
<dxb:BarEditItem.EditSettings>
    <dxe:ComboBoxEditSettings IsTextEditable="False" PopupMaxHeight="250"
                              ItemsSource="{dxe:EnumItemsSource EnumType={x:Type dxr:RibbonStyle}}"/>

how-to-bind-to-grpc/CS/InfiniteAsyncSource.GRPC/MainWindow.xaml#L33

xml
<dxg:GridColumn.EditSettings>
  <dxe:ComboBoxEditSettings ItemsSource="{Binding Users}" ValueMember="Id" DisplayMember="FullName" IsTextEditable="False"/>
</dxg:GridColumn.EditSettings>

wpf-mvvm-behaviors-barItems-based-theme-selectors/CS/WpfApplication1/MainWindow.xaml#L25

xml
<dxb:BarEditItem.EditSettings>
    <dxe:ComboBoxEditSettings IsTextEditable="False" PopupMaxHeight="250">
        <dxe:ComboBoxEditSettings.Items>

wpf-data-grid-bind-to-infiniteasyncsource/CS/InfiniteAsyncSourceMVVMSample/MainWindow.xaml#L31

xml
<dxg:GridColumn.EditSettings>
    <dxe:ComboBoxEditSettings ItemsSource="{Binding Users}" ValueMember="Id" DisplayMember="FullName" IsTextEditable="False"/>
</dxg:GridColumn.EditSettings>

wpf-synchronous-theme-preload-with-splashscreen/CS/ThemePreloadwithSplashscreen/ComplexWindow.xaml#L221

xml
ApplyItemTemplateToSelectedItem="True"
IsTextEditable="False"
ItemTemplate="{StaticResource priorityCellTemplate}"

See Also

IsTextEditable

ButtonEditSettings Class

ButtonEditSettings Members

DevExpress.Xpf.Editors.Settings Namespace