Back to Devexpress

RemoveRichEditCommandAction.Id Property

wpf-devexpress-dot-xpf-dot-richedit-dot-menu-dot-removericheditcommandaction.md

latest2.1 KB
Original Source

RemoveRichEditCommandAction.Id Property

Gets or sets the identifier of the command to remove.

Namespace : DevExpress.Xpf.RichEdit.Menu

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public RichEditCommandId Id { get; set; }
vb
Public Property Id As RichEditCommandId

Property Value

TypeDescription
RichEditCommandId

Identifies the Rich Text Editor’s command.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Id 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-rich-text-editor-customize-context-menu/CS/ContextMenuCustomization/MainWindow.xaml#L41

xml
<dxre:RichEditMenuCustomization>
    <dxre:RemoveRichEditCommandAction Id="{x:Static dxrecore:RichEditCommandId.CutSelection}" />
    <dxb:BarButtonItemLink dxb:BarItemLinkActionBase.ItemLinkIndex="0">

See Also

RemoveRichEditCommandAction Class

RemoveRichEditCommandAction Members

DevExpress.Xpf.RichEdit.Menu Namespace