[]
C1DropDown provides a generic drop-down control with a Header property that determines what the user sees when the drop-down part of the control is closed, and a Content property that determines what goes into the drop-down section.
public class C1DropDown : Layout<View>, IComponent, IDisposable
Name | Description |
---|---|
C1DropDown() | Initializes a new instance of the C1DropDown class. |
Name | Description |
---|---|
AutoClose | Gets or sets auto closes the drop when the user hits outside it. |
ButtonBackgroundColor | Gets or sets the background of the button. |
ButtonColor | Gets or sets the color of the button content. |
CloseButtonBackgroundColor | Gets or sets the background of the close button. |
CloseButtonTextColor | Gets or sets the color of the close button text. |
DropDown | Gets or sets the drop-down view. |
DropDownBackgroundColor | Gets or sets the color of the drop-down. |
DropDownBehavior | Gets or sets the drop-down behavior. |
DropDownBorderColor | Gets or sets the color of the drop-down border. |
DropDownBorderWidth | Gets or sets the width of the drop-down border. |
DropDownHeight | Gets or sets the height of the drop-down object. |
DropDownMode | Gets or sets the mode that the DropDown uses to display the DropDownView. |
DropDownWidth | Gets or sets the width of the drop-down object. |
EditableHeader | Gets or sets the editable header view. |
EditableHeaderBackgroundColor | Gets or sets the background color for the editable header. |
Header | Gets or sets the header view. |
HeaderBackgroundColor | Gets or sets the background color for the header. |
HeaderBorderColor | Gets or sets the border color for the header. |
HeaderBorderWidth | Gets or sets the border thickness for the header. |
IsAnimated | Gets or sets whether the control is animated. |
IsDropDownOpen | Gets or sets a value that indicates whether the dropdown is currently visible. |
IsEditable | Gets or sets the value that enables or disables editing of the text in the control. |
IsEnabled | Gets or sets whether the control should be enabled. |
MaxDropDownHeight | Gets or sets the maximum length constraint of the drop-down box. |
MinDropDownHeight | Gets or sets the minimum length constraint of the drop-down box. |
ShowButton | Gets or sets a value that indicates whether the control should display a dropdown button. |
ShowClearButton | Gets or sets a value that indicates whether the clear button show or not. |
ShowCloseButton | Gets or sets a value that indicates whether the close button is currently visible in full screen. |
ShowEditableHeader | Gets or sets a value that indicates whether the editable header is currently visible. |
ShowHeader | Gets or sets a value that indicates whether the header is currently visible. |
Site |
Name | Description |
---|---|
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
LayoutChildren(double, double, double, double) | Layout children. |
OnDropDownOpenChanged(DropDownOpenChangedEventArgs) | Raises the DropDownOpenChanged event. |
OnDropDownOpenChanging(DropDownOpenChangingEventArgs) | Raises the DropDownOpenChanging event. |
UpdateLayoutDirection(FlowDirection) |
Name | Description |
---|---|
Disposed | Occurs when the object is disposed. |
DropDownOpenChanged | Event raised when the IsDropDownOpen property has changed. |
DropDownOpenChanging | Event raised before the IsDropDownOpenChanging property changes. |