Class
ToolWindow

Represents the RadDocking for Silverlight ToolWindow control wrapper. The tool window always contains a single SplitContainer instance that may hold other containers or pane groups.

Definition

Namespace:Telerik.WebAii.Controls.Xaml.Wpf

Assembly:Telerik.WebAii.Controls.Xaml.Wpf.dll

Syntax:

cs-api-definition
public class ToolWindow : ContentControl, IAutomationPeer, IPeerConverter, IToolWindow, IContentControl, IControl, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlContentControlToolWindow

Implements: IAutomationPeerIContentControlIControlIFrameworkElementIPeerConverterITargetElementIToolWindow

Inherited Members ContentControl.HasContentPropertyContentControl.ContentStringFormatPropertyContentControl.GetRealType()ContentControl.HasContentContentControl.ContentStringFormatControl.BorderBrushPropertyControl.BorderThicknessPropertyControl.BackgroundPropertyControl.ForegroundPropertyControl.FontSizePropertyControl.HorizontalContentAlignmentPropertyControl.VerticalContentAlignmentPropertyControl.TabIndexPropertyControl.IsTabStopPropertyControl.PaddingPropertyControl.FontFamilyPropertyControl.FontStretchPropertyControl.FontStylePropertyControl.FontWeightPropertyControl.BorderBrushControl.BorderThicknessControl.BackgroundControl.ForegroundControl.FontSizeControl.HorizontalContentAlignmentControl.VerticalContentAlignmentControl.TabIndexControl.IsTabStopControl.PaddingControl.FontFamilyControl.FontStretchControl.FontStyleControl.FontWeightWpfTestElement.OverridesDefaultStylePropertyWpfTestElement.BindingGroupPropertyWpfTestElement.InputScopePropertyWpfTestElement.LayoutTransformPropertyWpfTestElement.FlowDirectionPropertyWpfTestElement.ForceCursorPropertyWpfTestElement.ContextMenuPropertyWpfTestElement.IsMouseDirectlyOverPropertyWpfTestElement.IsMouseOverPropertyWpfTestElement.IsStylusOverPropertyWpfTestElement.IsKeyboardFocusWithinPropertyWpfTestElement.IsMouseCapturedPropertyWpfTestElement.IsMouseCaptureWithinPropertyWpfTestElement.IsStylusDirectlyOverPropertyWpfTestElement.IsStylusCapturedPropertyWpfTestElement.IsStylusCaptureWithinPropertyWpfTestElement.IsKeyboardFocusedPropertyWpfTestElement.AllowDropPropertyWpfTestElement.ClipToBoundsPropertyWpfTestElement.SnapsToDevicePixelsPropertyWpfTestElement.IsFocusedPropertyWpfTestElement.IsEnabledPropertyWpfTestElement.IsVisiblePropertyWpfTestElement.FocusablePropertyWpfTestElement.OverridesDefaultStyleWpfTestElement.BindingGroupWpfTestElement.InputScopeWpfTestElement.FlowDirectionWpfTestElement.ForceCursorWpfTestElement.ContextMenuWpfTestElement.IsMouseDirectlyOverWpfTestElement.IsMouseOverWpfTestElement.IsStylusOverWpfTestElement.IsKeyboardFocusWithinWpfTestElement.IsMouseCapturedWpfTestElement.IsMouseCaptureWithinWpfTestElement.IsStylusDirectlyOverWpfTestElement.IsStylusCapturedWpfTestElement.IsStylusCaptureWithinWpfTestElement.IsKeyboardFocusedWpfTestElement.AllowDropWpfTestElement.ClipToBoundsWpfTestElement.SnapsToDevicePixelsWpfTestElement.IsFocusedWpfTestElement.IsEnabledWpfTestElement.IsVisibleWpfTestElement.FocusableWpfTestElement.ComputedVisibilityFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.AssignReference(AutomationReference)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)FrameworkElement.GetNextSibling()FrameworkElement.GetPrevSibling()FrameworkElement.NextSibling(string)FrameworkElement.NextSibling<T>()FrameworkElement.PreviousSibling(string)FrameworkElement.PreviousSibling<T>()FrameworkElement.AnySibling<T>()FrameworkElement.AnySibling(string)FrameworkElement.GetScreenRectangle()FrameworkElement.ScrollToVisible()FrameworkElement.ScrollToVisible(ScrollToVisibleType)FrameworkElement.EnsureClickable()FrameworkElement.ToXml()FrameworkElement.Refresh()FrameworkElement.Equals(object)FrameworkElement.GetHashCode()FrameworkElement.GetProperties()FrameworkElement.GetAttachedProperty<T>(string, string)FrameworkElement.SetAttachedProperty<T>(string, string, T)FrameworkElement.SetFocus()FrameworkElement.ValidateMouseLocationIfNeeded(Point)FrameworkElement.GetStringPresentation()FrameworkElement.ToRealObject()FrameworkElement.FromRealObject(object)FrameworkElement.ValidateType(Type, string)FrameworkElement.GetKnownControlTypes(TechnologyType)FrameworkElement.RegisterElement(Type, string)FrameworkElement.InitKnownWpfControlTypes()FrameworkElement.InitKnownSilverlightControlTypes()FrameworkElement.InitKnownXamlControlTypes(Type)FrameworkElement.GetControlTypeFromInterface(Type)FrameworkElement.Match(IFindExpression)FrameworkElement.SetDepth(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag

Constructors

ToolWindow()

Initializes a new instance of the ToolWindow class.

Declaration

cs-api-definition
public ToolWindow()

Properties

HeaderElement

Get the tool window header element.

Declaration

cs-api-definition
public Border HeaderElement { get; }

Property Value

Border

Implements IToolWindow.HeaderElement

HorizontalOffset

Get the value providing the horizontal offset of the window via automation property.

Declaration

cs-api-definition
public double HorizontalOffset { get; }

Property Value

double

Implements IToolWindow.HorizontalOffset

IsOpen

Get the value providing the ToolWindow isOpen of the window via automation property.

Declaration

cs-api-definition
public bool IsOpen { get; }

Property Value

bool

SplitContainer

Get the split container element.

Declaration

cs-api-definition
public RadSplitContainer SplitContainer { get; }

Property Value

RadSplitContainer

Title

Get the tool window title.

Declaration

cs-api-definition
public string Title { get; }

Property Value

string

Implements IToolWindow.Title

VerticalOffset

Get the value providing the vertical offset of the window via automation property.

Declaration

cs-api-definition
public double VerticalOffset { get; }

Property Value

double

Implements IToolWindow.VerticalOffset

VisibleRectangle

Get the visible screen rectangle of the tool window.

Declaration

cs-api-definition
public Rectangle VisibleRectangle { get; }

Property Value

Rectangle

Methods

Close()

Simulates user clicking on the close button to close the tool window.

Declaration

cs-api-definition
public void Close()

Implements IToolWindow.Close()

MoveAwayFromContainerCenter(RadSplitContainer)

Moves the window away from the container it covers so that one can dock controls into that container.

Declaration

cs-api-definition
public void MoveAwayFromContainerCenter(RadSplitContainer container)

Parameters

container

RadSplitContainer

The target container.

MoveAwayFromContainerCenter(RadSplitContainer, DockingDragDirection)

Moves the window away from the container it covers so that one can dock controls into that container.

Declaration

cs-api-definition
public void MoveAwayFromContainerCenter(RadSplitContainer container, DockingDragDirection direction)

Parameters

container

RadSplitContainer

The target split container.

direction

DockingDragDirection

The docking drag direction to move the tool window on.

MoveAwayFromContainerCenter(RadSplitContainer, DockingDragDirection, int)

Moves the window away from the container it covers so that one can dock controls into that container.

Declaration

cs-api-definition
public void MoveAwayFromContainerCenter(RadSplitContainer container, DockingDragDirection direction, int offset)

Parameters

container

RadSplitContainer

The target split container.

direction

DockingDragDirection

The docking drag direction to move the tool window on.

offset

int

The offset in pixels to move the tool window with.

MoveBy(int, int)

Moves the ToolWindow by the given offset values.

Declaration

cs-api-definition
public void MoveBy(int offsetByX, int offsetByY)

Parameters

offsetByX

int

The offset to move by X.

offsetByY

int

The offset to move by Y.

SelectToolWindow()

Select the current ToolWindow by clickin on its Header

Declaration

cs-api-definition
public void SelectToolWindow()

Implements IToolWindow.SelectToolWindow()