[]
        
(Showing Draft Content)

C1.iOS.Input.C1DropDown

C1DropDown Class

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.

Inheritance
C1DropDown
Implements
IComponent
IDisposable
Namespace: C1.iOS.Input
Assembly: C1.iOS.Input.dll
Syntax
public class C1DropDown : UIView, IDependencyObject, IComponent, IDisposable, IFlowDirection

Constructors

Name Description
C1DropDown()

Initializes a new instance of the C1DropDown class.

C1DropDown(IntPtr)

Initializes a new instance of the C1DropDown class.

Fields

Name Description
AutoCloseProperty

Identifies the AutoClose dependency property.

ButtonBackgroundColorProperty

Identifies the ButtonBackgroundColor dependency property.

ButtonColorProperty

Identifies the ButtonColor dependency property.

CloseButtonBackgroundColorProperty

Identifies the CloseButtonBackgroundColor dependency property.

CloseButtonTextColorProperty

Identifies the CloseButtonTextColor dependency property.

DropDownBackgroundColorProperty

Identifies the DropDownBackgroundColor dependency property.

DropDownBehaviorProperty

Identifies the DropDownBehavior dependency property.

DropDownBorderColorProperty

Identifies the DropDownBorderColor dependency property.

DropDownBorderWidthProperty

Identifies the DropDownBorderWidth dependency property.

DropDownHeightProperty

Identifies the DropDownHeight dependency property.

DropDownModeProperty

Identifies the DropDownMode dependency property.

DropDownProperty

Identifies the DropDown dependency property.

DropDownWidthProperty

Identifies the DropDownWidth dependency property.

EditableHeaderBackgroundColorProperty

Identifies the EditableHeaderBackgroundColor dependency property.

EditableHeaderProperty

Identifies the EditableHeader dependency property.

FlowDirectionProperty

Identifies the FlowDirection dependency property.

HeaderBackgroundColorProperty

Identifies the HeaderBackgroundColor dependency property.

HeaderBorderColorProperty

Identifies the HeaderBorderColor dependency property.

HeaderBorderWidthProperty

Identifies the HeaderBorderWidth dependency property.

HeaderProperty

Identifies the Header dependency property.

IsAnimatedProperty

Identifies the IsAnimated dependency property.

IsDropDownOpenProperty

Identifies the IsDropDownOpen dependency property.

IsEditableProperty

Identifies the IsEditable dependency property.

IsEnabledProperty

Identifies the IsEnabled dependency property.

MaxDropDownHeightProperty

Identifies the MaxDropDownHeight dependency property.

MinDropDownHeightProperty

Identifies the MinDropDownHeight dependency property.

ShowButtonProperty

Identifies the ShowButton dependency property.

ShowClearButtonProperty

Identifies the ShowClearButton dependency property.

ShowCloseButtonProperty

Identifies the ShowCloseButton dependency property.

ShowEditableHeaderProperty

Identifies the ShowEditableHeader dependency property.

ShowHeaderProperty

Identifies the ShowHeader dependency property.

Properties

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.

FlowDirection

Gets or sets a value that indicates whether that content should flow.

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.

Hidden

Specifies whether the UIKit.UIView displays or not.

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

Methods

Name Description
Dispose(bool)
HitTest(CGPoint, UIEvent)

Hit test when touched.

LayoutSubviews()

Lays out subviews.

MovedToSuperview()

Indicates the UIKit.UIView has had its UIKit.UIView.Superview property changed.

OnDropDownOpenChanged(DropDownOpenChangedEventArgs)

Raises the DropDownOpenChanged event.

OnDropDownOpenChanging(DropDownOpenChangingEventArgs)

Raises the DropDownOpenChanging event.

UpdateLayoutDirection(FlowDirection)

Update layout of control based on FlowDirection property.

WillMoveToWindow(UIWindow)

This method is called by the runtime when assigning a new UIKit.UIWindow to the UIKit.UIView's view hierarcy. This method will be called on all UIKit.UIViews in the hierarchy, not just the top-level UIKit.UIView.

Events

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.