Click or drag to resize

CentreOnSizeChangeBehaviour class

Centres the window on the screen if its size has changed.
Inheritance hierarchy
SystemObject
  Vishnu.WPF_UI.BehavioursCenterOnSizeChangeBehaviour

Namespace: Vishnu.WPF_UI.Behaviours
Assembly: Vishnu.WPF_UI (in Vishnu.WPF_UI.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public static class CenterOnSizeChangeBehaviour

The CenterOnSizeChangeBehaviour Type exposes the following members.

Methods
 NameDescription of the
Public MethodStatic MemberGetCenterOnSizeChange WPF getter for the ExpandedCommand.
Public MethodStatic MemberSetCenterOnSizeChange WPF setter for the ExpandedCommand.
Back to the top
Fields
 NameDescription of the
Public FieldStatic MemberCentreOnSizeChangeProperty Attached property for the SizeChanged event of a control.
Back to the top
Attached properties
 NameDescription of the
Public PropertyCentreOnSizeChange Attached Property (bool). If true, the control centre on the screen.
Back to the top
Remarks
File: CenterOnSizeChangeBehaviour Author: Erik - stolen from Oger 28/02/2014 Erik Nagel: created
See also