Table of Contents

Class FormDesignerCommands

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Represents the set of commands that are available to the Form Designer.

public class FormDesignerCommands : IFormDesignerCommands
Inheritance
FormDesignerCommands
Implements

Constructors

FormDesignerCommands(FormDesignerControl)

Initializes a new instance of the FormDesignerCommands class with specified designer.

Fields

AlignBottomCommand
AlignCenterCommand
AlignLeftCommand
AlignMiddleCommand
AlignRightCommand
AlignTopCommand
BringToFrontCommand
CancelSelectedToolCommand
RotateLeftCommand
RotateRightCommand
SendToBackCommand
StretchToSameHeightCommand
StretchToSameWidthCommand

Properties

CanAlignBottom

Indicates whether AlignBottom can be executed.

CanAlignCenter

Indicates whether AlignCenter can be executed.

CanAlignLeft

Indicates whether AlignLeft can be executed.

CanAlignMiddle

Indicates whether AlignMiddles can be executed.

CanAlignRight

Indicates whether AlignRight can be executed.

CanAlignTop

Indicates whether AlignTop can be executed.

CanBringToFont

Indicates whether BringToFront command can be executed.

CanCancelSelectedTool

Gets a value indicating whether the current designer tool can be canceled.

CanCopy

Indicates whether selected controls can be copied.

CanCut

Indicates whether selected controls can be cut.

CanDelete

Indicates whether selected controls can be deleted.

CanPaste

Indicates whether Paste command can be executed.

CanRedo

Indicates whether Redo command can be executed.

CanRotateLeft

Indicates whether RotateLeft can be executed.

CanRotateRight

Indicates whether RotateRight can be executed.

CanSelectAll

Indicates whether SelectAll command can be executed.

CanSendToBack

Indicates whether SendToBack command can be executed.

CanStretchToSameHeight

Indicates whether StretchToSameHeight can be executed.

CanStretchToSameWidth

Indicates whether StretchToSameWidth can be executed.

CanUndo

Indicates whether Undo command can be executed.

Methods

AlignBottom()

Aligns selected control to the bottom of its containing control.

AlignCenter()

Centers selected control horizontally of its containing control.

AlignLeft()

Aligns selected control to the left edge of its containing control.

AlignMiddle()

Centers selected control vertically of its containing control.

AlignRight()

Aligns selected control to the right edge of its containing control.

AlignTop()

Aligns selected control to the top of its containing control.

BringToFront()

Brings selected control to the front of the z-order.

CancelSelectedTool()

Cancels current designer tool and returns it to the default state.

Copy()

Copies selected control content to the clipboard.

Cut()

Cuts selected control content to the clipboard.

Delete()

Deletes selected control.

Paste()

Pastes controls from the clipboard.

Redo()

Executes Redo command.

RotateLeft()

Rotates selected control to the left direction.

RotateRight()

Rotates selected control to the right direction.

SelectAll()

Selects all controls.

SendToBack()

Executes SendToBack command.

StretchToSameHeight()

Stretches selected controls to the height of the first selected control.

StretchToSameWidth()

Stretches selected controls to the width of the first selected control.

Undo()

Executes Undo command.