Class LayoutDocumentTabItem
Represents a control with a single piece of content of any type.
public class LayoutDocumentTabItem : ContentControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
- Inheritance
-
LayoutDocumentTabItem
- Implements
- Inherited Members
- Extension Methods
Fields
LayoutItemProperty
public static readonly DependencyProperty LayoutItemProperty
Field Value
ModelProperty
Model dependency property.
public static readonly DependencyProperty ModelProperty
Field Value
Properties
LayoutItem
Gets the LayoutItem attached to this tag item.
[Bindable(true)]
public LayoutItem LayoutItem { get; }
Property Value
Model
Gets/sets the layout content model attached to the tab item.
[Bindable(true)]
public LayoutContent Model { get; set; }
Property Value
Methods
OnModelChanged(DependencyPropertyChangedEventArgs)
Provides derived classes an opportunity to handle changes to the Model property.
protected virtual void OnModelChanged(DependencyPropertyChangedEventArgs e)
Parameters
OnMouseDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
eMouseButtonEventArgsThe MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.
OnMouseEnter(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
eMouseEventArgsThe MouseEventArgs that contains the event data.
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
eMouseEventArgsThe MouseEventArgs that contains the event data.
OnMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
eMouseButtonEventArgsThe MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
eMouseButtonEventArgsThe MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.
OnMouseMove(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseMove(MouseEventArgs e)
Parameters
eMouseEventArgsThe MouseEventArgs that contains the event data.
SetLayoutItem(LayoutItem)
Provides a secure method for setting the LayoutItem property. This dependency property indicates the LayoutItem attached to this tag item.
protected void SetLayoutItem(LayoutItem value)
Parameters
valueLayoutItemThe new value for the property.