C# Class Revit.SDK.Samples.NewRebar.CS.TypeConverterSegmentId

Type converter between int and string is provided for property grid.
Inheritance: System.ComponentModel.Int32Converter
Mostra file Open project: AMEE/revit

Public Properties

Property Type Description
SegmentCount int

Public Methods

Method Description
GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection

Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.

GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool

Returns whether the collection of standard values returned from System.ComponentModel.TypeConverter.GetStandardValues() is an exclusive list of possible values, using the specified context.

GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool

Returns whether this object supports a standard set of values that can be picked from a list.

Method Details

GetStandardValues() public method

Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
context ITypeDescriptorContext An System.ComponentModel.ITypeDescriptorContext that /// provides a format context /// that can be used to extract additional information about the environment /// from which this converter is invoked. This parameter or properties of this /// parameter can be null.
return StandardValuesCollection

GetStandardValuesExclusive() public method

Returns whether the collection of standard values returned from System.ComponentModel.TypeConverter.GetStandardValues() is an exclusive list of possible values, using the specified context.
public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext An System.ComponentModel.ITypeDescriptorContext that /// provides a format context.
return bool

GetStandardValuesSupported() public method

Returns whether this object supports a standard set of values that can be picked from a list.
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool

Property Details

SegmentCount public_oe static_oe property

Segment count.
public static int SegmentCount
return int