C# Class ZForge.Controls.PropertyGridEx.CustomPropertyCollection

Inheritance: System.Collections.CollectionBase, ICustomTypeDescriptor
显示文件 Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
Add ( CustomProperty value ) : int
Add ( string strName, object objValue, bool boolIsReadOnly, string strCategory, string strDescription, bool boolVisible ) : int
Add ( string strName, object &objRef, string strProp, bool boolIsReadOnly, string strCategory, string strDescription, bool boolVisible ) : int
GetAttributes ( ) : AttributeCollection
GetClassName ( ) : string
GetComponentName ( ) : string
GetConverter ( ) : TypeConverter
GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
GetDefaultProperty ( ) : PropertyDescriptor
GetEditor ( System editorBaseType ) : object
GetEvents ( ) : EventDescriptorCollection
GetEvents ( System attributes ) : EventDescriptorCollection
GetProperties ( ) : PropertyDescriptorCollection
GetProperties ( System attributes ) : PropertyDescriptorCollection
GetPropertyOwner ( System pd ) : object
LoadBinary ( string filename ) : bool
LoadXml ( string filename ) : bool
Remove ( string Name ) : void
SaveBinary ( string filename ) : void
SaveXml ( string filename ) : void
this ( int index ) : CustomProperty

Method Details

Add() public method

public Add ( CustomProperty value ) : int
value CustomProperty
return int

Add() public method

public Add ( string strName, object objValue, bool boolIsReadOnly, string strCategory, string strDescription, bool boolVisible ) : int
strName string
objValue object
boolIsReadOnly bool
strCategory string
strDescription string
boolVisible bool
return int

Add() public method

public Add ( string strName, object &objRef, string strProp, bool boolIsReadOnly, string strCategory, string strDescription, bool boolVisible ) : int
strName string
objRef object
strProp string
boolIsReadOnly bool
strCategory string
strDescription string
boolVisible bool
return int

GetAttributes() public method

public GetAttributes ( ) : AttributeCollection
return System.ComponentModel.AttributeCollection

GetClassName() public method

public GetClassName ( ) : string
return string

GetComponentName() public method

public GetComponentName ( ) : string
return string

GetConverter() public method

public GetConverter ( ) : TypeConverter
return System.ComponentModel.TypeConverter

GetDefaultEvent() public method

public GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
return System.ComponentModel.EventDescriptor

GetDefaultProperty() public method

public GetDefaultProperty ( ) : PropertyDescriptor
return System.ComponentModel.PropertyDescriptor

GetEditor() public method

public GetEditor ( System editorBaseType ) : object
editorBaseType System
return object

GetEvents() public method

public GetEvents ( ) : EventDescriptorCollection
return System.ComponentModel.EventDescriptorCollection

GetEvents() public method

public GetEvents ( System attributes ) : EventDescriptorCollection
attributes System
return System.ComponentModel.EventDescriptorCollection

GetProperties() public method

public GetProperties ( ) : PropertyDescriptorCollection
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public method

public GetProperties ( System attributes ) : PropertyDescriptorCollection
attributes System
return System.ComponentModel.PropertyDescriptorCollection

GetPropertyOwner() public method

public GetPropertyOwner ( System pd ) : object
pd System
return object

LoadBinary() public method

public LoadBinary ( string filename ) : bool
filename string
return bool

LoadXml() public method

public LoadXml ( string filename ) : bool
filename string
return bool

Remove() public method

public Remove ( string Name ) : void
Name string
return void

SaveBinary() public method

public SaveBinary ( string filename ) : void
filename string
return void

SaveXml() public method

public SaveXml ( string filename ) : void
filename string
return void

this() public method

public this ( int index ) : CustomProperty
index int
return CustomProperty