Skip to main content
Bar

BarEditItem Class

Represents a bar item that allows you to embed any editor from the DXEditors for Silverlight library into bars.

Namespace: DevExpress.Xpf.Bars

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

#Declaration

public class BarEditItem :
    BarItem

#Returned By

Properties and methods that return BarEditItem instances:

#Remarks

This bar item allows you to embed editors into bars. You can embed any editor provided by the DXEditors for Silverlight library.

BarEditItem

To embed an editor, set the BarEditItem.EditSettings property to a corresponding descendant of the BaseEditSettings class. For instance, to embed a DateEdit editor into bars, assign the BarEditItem.EditSettings property to a new instance of the DateEditSettings class. The DateEdit control will be automatically created based on the provided EditSettings object. To provide values for the in-place editor, use the BarEditItem.EditValue property.

At runtime, you can access the embedded editor directly via a link's BarEditItemLink.Editor property.

BarEditItem objects are displayed on-screen using corresponding bar item links - BarEditItemLink objects. See Items and Links to learn more.

See Also