Skip to main content
Bar

BarEditItem.EditTemplate Property

Gets or sets a DataTemplate applied to the container where the embedded editor resides.

Namespace: DevExpress.Xpf.Bars

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

#Declaration

public DataTemplate EditTemplate { get; set; }

#Property Value

Type Description
DataTemplate

A DataTemplate object applied to the container where the embedded editor resides.

#Remarks

To subscribe to events of the BarEditItem's embedded editor, you can use the following workaround. Define a DataTemplate with the corresponding editor (a BaseEdit descendant) as the content and handle this editor's events, as required. Assign this template to the EditTemplate property.

See the Data Templating Overview topic in MSDN, to learn about templates.

See Also