Class ToolWindow
This class represents a tool window.
Inherited Members
Namespace: Telerik.Windows.Controls.Docking
Assembly: Telerik.Windows.Controls.Docking.dll
Syntax
public class ToolWindow : WindowBase, INotifyLayoutChange, IWindowDragAware, IDragAware, IClickAware
Constructors
ToolWindow()
Fields
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.Windows.DependencyProperty
|
Properties
IsSelected
Gets or sets a value indicating whether this pane is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
Methods
ChangeVisualState(Boolean)
Updates the visual state of the control.
Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
System.Boolean
useTransitions
Indicates whether transitions should be used. |
Overrides
CheckCanClose()
Checks whether the window can be closed. This method doesn't consider the CanClose property, but checked for some other kind of constraints.
Declaration
protected override bool CheckCanClose()
Returns
System.Boolean
|
Overrides
GetWindowOwner()
Declaration
protected override ContentControl GetWindowOwner()
Returns
System.Windows.Controls.ContentControl
|
Overrides
GetWindowOwnerHandle()
Declaration
protected override IntPtr GetWindowOwnerHandle()
Returns
System.IntPtr
|
Overrides
OnActivated(EventArgs)
Raises the Activated event. This method is called when the window is activated.
Declaration
protected override void OnActivated(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnClosed()
OnClosing()
Declaration
protected override bool OnClosing()
Returns
System.Boolean
|
Overrides
OnContentChanged(Object, Object)
Called when the value of the System.Windows.Controls.ContentControl.Content property changes.
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
System.Object
oldContent
The old value of the System.Windows.Controls.ContentControl.Content property. |
System.Object
newContent
The new value of the System.Windows.Controls.ContentControl.Content property. |
OnCreateAutomationPeer()
Create the automation peer for this class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
Overrides
OnDragDelta(Point, Rect, Rect, Boolean)
Declaration
protected override Rect OnDragDelta(Point globalMousePosition, Rect initialRect, Rect destinationRect, bool isResize)
Parameters
System.Windows.Point
globalMousePosition
|
System.Windows.Rect
initialRect
|
System.Windows.Rect
destinationRect
|
System.Boolean
isResize
|
Returns
System.Windows.Rect
|
Overrides
OnDragEnd(Point, Boolean, Boolean)
Declaration
protected override void OnDragEnd(Point globalMousePosition, bool isCancel, bool isResize)
Parameters
System.Windows.Point
globalMousePosition
|
System.Boolean
isCancel
|
System.Boolean
isResize
|
Overrides
OnDragStart(Point, Boolean)
Declaration
protected override void OnDragStart(Point globalMousePosition, bool isResize)
Parameters
System.Windows.Point
globalMousePosition
|
System.Boolean
isResize
|
Overrides
OnGotFocus(RoutedEventArgs)
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs
e
|
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event and sets System.Windows.FrameworkElement.DefaultStyleKey from the active theme.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnKeyDown(KeyEventArgs)
Called before the System.Windows.UIElement.KeyDown event occurs.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs
e
The data for the event. |
OnLayoutChangeEnded(EventArgs)
Raises the LayoutChangeEnded event of the RadDocking and the WindowBase.
Declaration
protected override void OnLayoutChangeEnded(EventArgs args)
Parameters
System.EventArgs
args
The System.EventArgs instance containing the event data. |
Overrides
OnLayoutChangeStarted(EventArgs)
Raises the LayoutChangeStarted event of the RadDocking and the WindowBase.
Declaration
protected override void OnLayoutChangeStarted(EventArgs args)
Parameters
System.EventArgs
args
The System.EventArgs instance containing the event data. |
Overrides
OnRightMouseButtonUp()
Declaration
protected override void OnRightMouseButtonUp()
Overrides
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
ShouldFocusOnActivate()
Declaration
protected override bool ShouldFocusOnActivate()
Returns
System.Boolean
|