C# Class Xceed.Wpf.Toolkit.Primitives.WindowContainer

Inheritance: System.Windows.Controls.Canvas
Exibir arquivo Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
ModalBackgroundBrushProperty System.Windows.DependencyProperty

Protected Methods

Method Description
MeasureOverride ( Size constraint ) : Size

Measure the size of the WindowContainer based on its children.

OnModalBackgroundBrushChanged ( System.Windows.Media.Brush oldValue, System.Windows.Media.Brush newValue ) : void
OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void

Register and unregister to children events.

Private Methods

Method Description
BringToFront ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : void
CenterChild ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : void
Child_IsKeyboardFocusWithinChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Child_IsModalChanged ( object sender, EventArgs e ) : void
Child_IsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Child_LeftChanged ( object sender, EventArgs e ) : void
Child_PreviewMouseLeftButtonDown ( object sender, RoutedEventArgs e ) : void
Child_TopChanged ( object sender, EventArgs e ) : void
ExpandWindowControl ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : void
GetModalWindow ( ) : Xceed.Wpf.Toolkit.Primitives.WindowControl
GetRestrictedLeft ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : double
GetRestrictedTop ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : double
IsModalWindow ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : bool
OnModalBackgroundBrushChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetActiveWindow ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : void
SetChildPos ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : void
SetModalBackground ( ) : void
SetNextActiveWindow ( Xceed.Wpf.Toolkit.Primitives.WindowControl windowControl ) : void
WindowContainer ( ) : System
WindowContainer_LayoutUpdated ( object sender, EventArgs e ) : void
WindowContainer_Loaded ( object sender, RoutedEventArgs e ) : void
WindowContainer_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Method Details

MeasureOverride() protected method

Measure the size of the WindowContainer based on its children.
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
return System.Windows.Size

OnModalBackgroundBrushChanged() protected method

protected OnModalBackgroundBrushChanged ( System.Windows.Media.Brush oldValue, System.Windows.Media.Brush newValue ) : void
oldValue System.Windows.Media.Brush
newValue System.Windows.Media.Brush
return void

OnVisualChildrenChanged() protected method

Register and unregister to children events.
protected OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void
visualAdded System.Windows.DependencyObject
visualRemoved System.Windows.DependencyObject
return void

Property Details

ModalBackgroundBrushProperty public_oe static_oe property

Identifies the ModalBackgroundBrush dependency property.
public static DependencyProperty,System.Windows ModalBackgroundBrushProperty
return System.Windows.DependencyProperty