Table of Contents

Class ContainerDefaultState

Namespace: RichCanvas.States.ContainerStates
Assembly: RichCanvas.dll

Defines the state called by RichCanvas.RichCanvasContainer.GetDefaultState.
Note: Used for orchestrating all states interactions with RichCanvas.RichCanvasContainer.

public class ContainerDefaultState : ContainerState

Inheritance

objectContainerStateContainerDefaultState

Inherited Members

ContainerState.Container, ContainerState.Enter(), ContainerState.ReEnter(), ContainerState.Exit(), ContainerState.HandleMouseDown(MouseButtonEventArgs), ContainerState.HandleMouseMove(MouseEventArgs), ContainerState.HandleMouseUp(MouseButtonEventArgs), ContainerState.PushState(ContainerState), ContainerState.PopState(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ContainerDefaultState(RichCanvasContainer)

Initializes a new RichCanvas.States.ContainerStates.ContainerDefaultState.

public ContainerDefaultState(RichCanvasContainer container)

Parameters

container RichCanvasContainer

Owner of the state.

Methods

HandleMouseDown(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.

public override void HandleMouseDown(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The System.Windows.Input.MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.