[]
Implements a item inside a C1OutlookBar.
[TemplatePart(Name = "IconPresenter", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "HeaderPresenter", Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = "Selected", GroupName = "SelectionStates")]
[TemplateVisualState(Name = "Unselected", GroupName = "SelectionStates")]
[TemplateVisualState(Name = "Expanded", GroupName = "StateStates")]
[TemplateVisualState(Name = "Collapsed", GroupName = "StateStates")]
[TemplateVisualState(Name = "Overflow", GroupName = "StateStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1OutlookItem : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
| Name | Description |
|---|---|
| C1OutlookItem() | Initializes a new instance of a C1OutlookItem. |
| Name | Description |
|---|---|
| HeaderProperty | Identifies the Header dependency property. |
| HeaderTemplateProperty | Identifies the HeaderTemplate dependency property. |
| IsSelectedProperty | Identifies the IsSelected dependency property. |
| LargeIconProperty | Identifies the LargeIcon dependency property. |
| LargeIconTemplateProperty | Identifies the LargeIconTemplate dependency property. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| SelectedBackgroundProperty | Identifies the SelectedBackground dependency property. |
| SmallIconProperty | Identifies the SmallIcon dependency property. |
| SmallIconTemplateProperty | Identifies the SmallIconTemplate dependency property. |
| Name | Description |
|---|---|
| Header | Gets or sets the value shown above the content when the item is selected. |
| HeaderTemplate | Gets or sets a DataTemplate to style the Header. |
| IsSelected | Gets or sets whether the item is selected. |
| LargeIcon | Gets or sets the object shown for the item when collapsed and to the left of the header when expanded. |
| LargeIconTemplate | Gets or sets a DataTemplate to style the LargeIcon. |
| MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
| SelectedBackground | Gets or sets the Brush used to highlight the control when it is selected. |
| SmallIcon | Gets or sets the object shown for the item in the overflow pane and menu. Since the object is placed in the visual tree twice, it cannot be a UIElement. Use SmallIconTemplate to create a Image element. |
| SmallIconTemplate | Gets or sets a DataTemplate to style the SmallIcon. |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| ChangeVisualStateSelection(bool) | Updates the current visual state of the Selection visual state group to match the object's properties. |
| OnApplyTemplate() | Builds the visual tree for the C1OutlookItem control when a new template is applied. |
| OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
| OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
| Name | Description |
|---|---|
| IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |