CheckboxAttribute 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
CheckboxAttributeCheckboxAttribute
Attributes

Remarks


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

Constructors

CheckboxAttribute() CheckboxAttribute()

Default constructor

Applies to