Skip to content

LayoutDocumentTabItem

Dirkster99 edited this page Feb 4, 2020 · 6 revisions

This control defines the Tab area of a LayoutDocumentControl. It is used to show the title of a document (eg: "Noname*" below) with a configurabe close button (and other elements) to let users interact via click or drag & drop with the LayoutDocument.

This control is used via Style Defintion in other controls:

See also AnchorablePaneTitle

Properties

Public Properties

Property Description
LayoutAnchorable Model Gets/sets the Model property. This dependency property indicates model attached to this view.
LayoutItem LayoutItem Gets the LayoutItem property. This dependency property indicates the LayoutItem attached to this tag item.

Methods

Methods

Protected Methods

OnModelChanged

  • protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e )
    • Provides derived classes an opportunity to handle changes to the Model property.

SetLayoutItem

  • protected void SetLayoutItem( LayoutItem value )
    • Provides a secure method for setting the LayoutItem property. This dependency property indicates the LayoutItem attached to this tag item.

OnMouseEnter

  • protected override void OnMouseEnter( MouseEventArgs e )
    • nvoked when an unhandled MouseEnter attached event is raised on this element. Implement this method to add class handling for this event. (Inherited from Control)

OnMouseMove

  • protected override void OnMouseMove( System.Windows.Input.MouseEventArgs e )
    • Invoked when an unhandled 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. (Inherited from Control)

OnMouseLeave

  • protected override void OnMouseLeave( System.Windows.Input.MouseEventArgs e )
    • Invoked when an unhandled MouseLeave attached event is raised on this element. Implement this method to add class handling for this event. (Inherited from Control)

OnMouseLeftButtonDown

  • protected override void OnMouseLeftButtonDown( System.Windows.Input.MouseButtonEventArgs e )
    • Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event. (Inherited from Control)

OnMouseLeftButtonUp

  • protected override void OnMouseLeftButtonUp( System.Windows.Input.MouseButtonEventArgs e )
    • 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. (Inherited from Control)

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally