Version

DefaultEditorOwner Class

Used to provide default owner information to an editor.
Syntax
'Declaration
 
Public Class DefaultEditorOwner 
   Inherits Infragistics.Win.EmbeddableEditorOwnerBase
public class DefaultEditorOwner : Infragistics.Win.EmbeddableEditorOwnerBase 
Remarks

The DefaultEditorOwner class may be used to provide default values to an editor. Each editor class takes a "default owner" to one of its constructors. When the editor requests a property value of its owner, the owner may or may not provide the value for that property. When the owner does not provide the value for the editor, the value used is returned from the default owner, if there is one.

The DefaultEditorOwner overrides several of the members of the base Infragistics.Win.EmbeddableEditorOwnerBase class and returns a value from its Settings object. An instance of a DefaultEditorOwnerSettings should be provided either in the constructor of the DefaultEditorOwner or by setting the Settings property directly. Then when the editor class is created, the constructor overload that takes an EmbeddableEditorOwnerBase should be used and an instance of the DefaultEditorOwner provided for that parameter. If the owner that actually utilizes the editor does not provide a value for a property value requested, the DefaultEditorOwner will then be queried, which will return the value from its associated Settings property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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