Edytuj

Udostępnij za pośrednictwem


CheckboxAttribute Class

Definition

On Reflection-based UIs, this attribute can be applied to boolean values to use a checkbox to render the boolean value.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, Inherited=false)]
public class CheckboxAttribute : Attribute
type CheckboxAttribute = class
    inherit Attribute
Inheritance
CheckboxAttribute
Attributes

Remarks

[Preserve (AllMembers=true)]
class Settings {
[Section ("Checkboxes")]
	[Checkbox]
	bool English = true;
}

Constructors

CheckboxAttribute()

Default constructor

Applies to