DropDown Control Documentation

Screenshot
Usage

Properties

Header
Type: string. 
Description : Get or sets the header.
Default value : Name of control.

HeaderTemplate
Type: DataTemplate.
Description : Gets or sets the template used to display the control's header.
Default value : null.

ContainerAlignment
Type: enum DropDownContainerAlignment.
Description : Gets or sets the container items alignment.
Default value : DropDownContainerAlignment.Right.

Enum DropDownContainerAlignment:

  • Left
  • Right
  • Center

SelectedTemplate
Type: DataTemplate.
Description : Gets or sets the seleted item template.
Default value : null.

ItemCountThreshold
Type: int.
Description : Gets or sets the item count threshold.
Default value : 3.

SelectedItem
Type: object.
Description : Gets or sets the seleted item.
Default value : null.

SelectedIndex
Type: int.
Description : Gets or sets the index of seleted item.
Default value : -1.

DisabledBrush
Type: Brush.
Description : Gets or sets the foreground brush from disabled state.
Default value : PhoneTextBoxReadOnlyBrush resource.

EllipseBrush
Type: Brush.
Description : Gets or sets the brush from Ellipse.
Default value : PhoneAccentColor resource.

EllipseArrow
Type: Brush.
Description : Gets or sets the brush from internal arrow of Ellipse.
Default value : PhoneForegroundBrush resource.

ControlForeground
Type: Brush.
Description : Gets or sets the control foreground color.
Default value : PhoneTextBoxForegroundBrush resource.

ControlBackground
Type: Brush.
Description : Gets or sets the control background color.
Default value : PhoneTextBoxBrush resource.

Events

ChangeExpanded
Type : EventHandler<DropDownOpenChangeEventArgs>
Description: Trigger when Dropdown  is Open / Close.

DropDownOpenChangeEventArgs
Open
Type: bool
Description : Gets value state Open/close. True = opened, Fale = closed.

SelectionChange
Type : EventHandler<SelectionChangedEventArgs>
Description: Trigger when item is selected.

SelectionChangedEventArgs
AddedItems
Type: IList
Description : Gets values items added in selection

RemovedItems
Type: IList
Description : Gets values items removed in selection

 



Last edited Jun 3, 2012 at 3:09 PM by FCerqueira, version 5

Comments

No comments yet.