Table of Contents

Method CreateForEnum

Namespace
PaintDotNet.PropertySystem
Assembly
PaintDotNet.PropertySystem.dll

CreateForEnum<TEnum>(object, TEnum)

public static StaticListChoiceProperty CreateForEnum<TEnum>(object name, TEnum defaultValue) where TEnum : Enum

Parameters

name object
defaultValue TEnum

Returns

StaticListChoiceProperty

Type Parameters

TEnum

CreateForEnum<TEnum>(object, TEnum, bool)

public static StaticListChoiceProperty CreateForEnum<TEnum>(object name, TEnum defaultValue, bool readOnly) where TEnum : Enum

Parameters

name object
defaultValue TEnum
readOnly bool

Returns

StaticListChoiceProperty

Type Parameters

TEnum

CreateForEnum(Type, object, object)

public static StaticListChoiceProperty CreateForEnum(Type enumType, object name, object defaultValue)

Parameters

enumType Type
name object
defaultValue object

Returns

StaticListChoiceProperty

CreateForEnum(Type, object, object, bool)

public static StaticListChoiceProperty CreateForEnum(Type enumType, object name, object defaultValue, bool readOnly)

Parameters

enumType Type
name object
defaultValue object
readOnly bool

Returns

StaticListChoiceProperty