ExpanderBar Class
Provides abstract base expander pane container management functionality.
public abstract class ExpanderBar : Selector, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IGeneratorHost
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ItemsControl Selector Object
- Derived:
- ExplorerBar NavigationBar
Constructors
ExpanderBar()
Initializes a new instance of the ExpanderBar
class.
protected ExpanderBar()
Properties
CanExpandMultiple
Gets or sets whether multiple child Expander objects can be expanded at any given time.
public bool CanExpandMultiple { get; set; }
Property Value
Methods
GetContainerForItemOverride()
Creates or identifies the element used to display a specified item.
protected override DependencyObject GetContainerForItemOverride()
Returns
InitializeSelection()
Initializes the selection after a template is applied.
protected virtual void InitializeSelection()
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own item container.
protected override bool IsItemItsOwnContainerOverride(object item)
Parameter | Type | Description |
---|---|---|
item | Object | Specified item. |
Returns
- Boolean:
true
if the item is its own item container; otherwise,false
.
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates and returns an AutomationPeer object for this type.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The AutomationPeer that was created.
OnSelectionChanged(SelectionChangedEventArgs)
Responds to a selection change by raising a SelectionChanged
event.
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | SelectionChangedEventArgs | A SelectionChangedEventArgs that contains the event data. |
Fields
CanExpandMultipleProperty
Identifies the CanExpandMultiple dependency property. This field is read-only.
public static readonly DependencyProperty CanExpandMultipleProperty
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()