C# Class SenseNet.Portal.UI.PortletFramework.PropertyEditorPart

Inheritance: System.Web.UI.WebControls.WebParts.EditorPart
显示文件 Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
CanConvertToFrom bool
CanEditProperty bool
CollectEditableProperties void
CreateEditorControl System.Web.UI.Control
GetEditableProperties System.ComponentModel.PropertyDescriptorCollection
GetEditorOptionsAttribute EditorOptions
SyncChanges void

Public Methods

Method Description
ApplyChanges ( ) : bool
GetCategoryTitle ( PropertyDescriptor propertyDescriptor ) : string
GetControlRecursive ( Control control, string id ) : Control
GetDescription ( PropertyDescriptor propertyDescriptor ) : string
GetDisplayName ( PropertyDescriptor propertyDescriptor ) : string
GetEditorControlValue ( Control editorControl, PropertyDescriptor descriptor ) : object
SyncChanges ( ) : void

Protected Methods

Method Description
CreateChildControls ( ) : void
OnPreRender ( EventArgs e ) : void

Private Methods

Method Description
CanConvertToFrom ( TypeConverter converter, Type type ) : bool
CanEditProperty ( PropertyDescriptor property ) : bool
CollectEditableProperties ( object editableObject ) : void
CreateEditorControl ( PropertyDescriptor descriptor ) : Control
GetEditableProperties ( object editableObject ) : PropertyDescriptorCollection
GetEditorOptionsAttribute ( System attribCollection ) : EditorOptions
SyncChanges ( Control control, PropertyDescriptor descriptor, object instance ) : void

Method Details

ApplyChanges() public method

public ApplyChanges ( ) : bool
return bool

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

GetCategoryTitle() public static method

public static GetCategoryTitle ( PropertyDescriptor propertyDescriptor ) : string
propertyDescriptor System.ComponentModel.PropertyDescriptor
return string

GetControlRecursive() public static method

public static GetControlRecursive ( Control control, string id ) : Control
control System.Web.UI.Control
id string
return System.Web.UI.Control

GetDescription() public static method

public static GetDescription ( PropertyDescriptor propertyDescriptor ) : string
propertyDescriptor System.ComponentModel.PropertyDescriptor
return string

GetDisplayName() public static method

public static GetDisplayName ( PropertyDescriptor propertyDescriptor ) : string
propertyDescriptor System.ComponentModel.PropertyDescriptor
return string

GetEditorControlValue() public static method

public static GetEditorControlValue ( Control editorControl, PropertyDescriptor descriptor ) : object
editorControl System.Web.UI.Control
descriptor System.ComponentModel.PropertyDescriptor
return object

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

SyncChanges() public method

public SyncChanges ( ) : void
return void