EditorStyle Property (Cell)

The style for the Infragistics.Windows.Editors.ValueEditor used within this cell
Public Property EditorStyle As Style
public Style EditorStyle {get; set;}

The TargetType of the style must me set to a class derived from Infragistics.Windows.Editors.ValueEditor, otherwise an exception will be thrown.

If either the Infragistics.Windows.Editors.ValueEditor.EditTemplate or Template properties are not set on the style then default templates will be supplied based on look.

Refer to the Editors topic in the Developer's Guide for an explanation of editors.

Refer to the Editing Cell Values topic in the Developer's Guide for an explanation of how editing works.

Note that if you need to set more than one of EditAsType, EditorType and EditorStyle properties, you may want to use the SetEditorSettings method to set them all at once for better performance as it updates the CellValuePresenter associated with the cell only once.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also