C# Класс Revit.SDK.Samples.NewRebar.CS.TypeConverterSegmentId

Type converter between int and string is provided for property grid.
Наследование: System.ComponentModel.Int32Converter
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
SegmentCount int

Открытые методы

Метод Описание
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.

Описание методов

GetStandardValues() публичный Метод

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.
Результат StandardValuesCollection

GetStandardValuesExclusive() публичный Метод

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.
Результат bool

GetStandardValuesSupported() публичный Метод

Returns whether this object supports a standard set of values that can be picked from a list.
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
Результат bool

Описание свойств

SegmentCount публичное статическое свойство

Segment count.
public static int SegmentCount
Результат int