C# Class Orchestra.Windows.FixMaximize

Attachable properties to fix the maximized state of a window. The code comes from http://connect.microsoft.com/VisualStudio/feedback/details/775972/wpf-ribbon-window-the-border-is-too-thin.
Inheritance: System.Windows.DependencyObject
Afficher le fichier Open project: WildGums/Orchestra Class Usage Examples

Méthodes publiques

Свойство Type Description
FixMaximizeProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetFixMaximize ( Window ribbonWindow ) : bool
SetFixMaximize ( Window ribbonWindow, bool value ) : void

Private Methods

Méthode Description
FixMaximizeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
FixMaximize_RibbonWindow_SourceInitialized ( object sender, EventArgs e ) : void
FixMaximize_RibbonWindow_WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
GetWindowRect ( IntPtr hwnd, RECT &lpRect ) : bool
GetWindowSize ( IntPtr hWnd ) : Size
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags ) : bool

Method Details

GetFixMaximize() public static méthode

public static GetFixMaximize ( Window ribbonWindow ) : bool
ribbonWindow System.Windows.Window
Résultat bool

SetFixMaximize() public static méthode

public static SetFixMaximize ( Window ribbonWindow, bool value ) : void
ribbonWindow System.Windows.Window
value bool
Résultat void

Property Details

FixMaximizeProperty public_oe static_oe property

public static DependencyProperty,System.Windows FixMaximizeProperty
Résultat System.Windows.DependencyProperty