ClassToolWindow
This class represents a tool window.
Definition
Namespace:Telerik.Windows.Controls.Docking
Assembly:Telerik.Windows.Controls.Docking.dll
Syntax:
public class ToolWindow : WindowBase, INotifyLayoutChange, IDragAware
Inheritance: objectWindowBaseToolWindow
Implements:
Inherited Members
Constructors
ToolWindow()
Initializes a new instance of the ToolWindow class.
Declaration
public ToolWindow()
Fields
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
Properties
IsSelected
Gets or sets a value indicating whether this pane is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
True if this pane is active; otherwise, false.
Methods
ChangeVisualState(bool)
Updates the visual state of the control.
Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
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
True if the window can be changed; false otherwise.
Overrides
GetWindowOwner()
Declaration
protected override ContentControl GetWindowOwner()
Returns
ContentControl
Overrides
OnActivated(EventArgs)
Raises the event. This method is called when the window is activated.
OnClosed()
Declaration
protected override void OnClosed()
Overrides
OnContentChanged(object, object)
Called when the value of the property changes.
OnCreateAutomationPeer()
Create the automation peer for this class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnDragDelta(Point, Rect, Rect, bool)
Declaration
protected override Rect OnDragDelta(Point globalMousePosition, Rect initialRect, Rect destinationRect, bool isResize)
Parameters
globalMousePosition
Point
initialRect
Rect
destinationRect
Rect
isResize
Returns
Rect
Overrides
OnDragStart(Point, bool)
Declaration
protected override void OnDragStart(Point globalMousePosition, bool isResize)
Parameters
globalMousePosition
Point
isResize
Overrides
OnGotFocus(RoutedEventArgs)
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnInitialized(EventArgs)
Raises the event and sets from the active theme.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnKeyDown(KeyEventArgs)
Called before the event occurs.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
e
KeyEventArgs
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
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
args
The System.EventArgs instance containing the event data.
Overrides
OnRightMouseButtonUp()
Declaration
protected override void OnRightMouseButtonUp()
Overrides
ShouldFocusOnActivate()
Declaration
protected override bool ShouldFocusOnActivate()
Returns
Overrides