CheckboxAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |