Class LayoutAnchorControl
Implements a control that is displayed when a LayoutAnchorableControl is in AutoHide mode (which can be applied via context menu drop entry or click on the Pin symbol.
public class LayoutAnchorControl : Control, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, ILayoutControl
- Inheritance
-
LayoutAnchorControl
- Implements
- Inherited Members
- Extension Methods
Fields
SideProperty
public static readonly DependencyProperty SideProperty
Field Value
Properties
Model
Gets the ILayoutElement model for this control.
public ILayoutElement Model { get; }
Property Value
Side
Gets the anchor side of the control.
[Bindable(true)]
public AnchorSide Side { get; }
Property Value
Methods
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
e
MouseButtonEventArgsThe 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
e
MouseEventArgsThe 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
e
MouseEventArgsThe MouseEventArgs that contains the event data.
SetSide(AnchorSide)
Provides a secure method for setting the Side property. This dependency property indicates the anchor side of the control.
protected void SetSide(AnchorSide value)
Parameters
value
AnchorSideThe new value for the property.