BooleanEditorAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Indicates that the target property should use a "Boolean" editor.
[AttributeUsage(AttributeTargets.All)]
public class BooleanEditorAttribute : CustomEditorAttribute
Public Members
| name | description |
|---|---|
| BooleanEditorAttribute() | Initializes a new instance of the BooleanEditorAttribute class. |
| LabelPosition { get; set; } | Gets or sets where the caption of the field is, at the start in the caption area by default, or after the checkbox, which is useful for fitting several checkboxes in one row, see CheckLabelPosition. |
| const Key | Editor type key |
See Also
- class CustomEditorAttribute
- Source: BooleanEditorAttribute.cs