#nullable enable namespace Terminal.Gui.Views; /// /// Styles for and . /// [Flags] public enum SelectorStyles { /// /// No styles. /// None = 0b_0000_0000, /// /// Show the `None` checkbox. This will add a checkbox with the title "None" that when checked will cause the value to /// be set to 0. /// The `None` checkbox will be added even if the flags do not contain a value of 0. /// Valid only for and /// ShowNoneFlag = 0b_0000_0001, // TODO: Implement this. /// /// Show the `All` checkbox. This will add a checkbox with the title "All" that when checked will /// cause all flags to be set. Unchecking the "All" checkbox will set the value to 0. /// Valid only for and /// ShowAllFlag = 0b_0000_0010, // TODO: Make the TextField a TextValidateField so it can be editable and validate the value. /// /// Show the value field. This will add a read-only to the to allow /// the user to see the value. /// ShowValue = 0b_0000_0100, /// /// All styles. /// All = ShowNoneFlag | ShowAllFlag | ShowValue }