Class DocumentContainerHelper
Helper class, used to setup internal parts of the document container and process some of the input.
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public sealed class DocumentContainerHelper : DependencyObject
Constructors
DocumentContainerHelper()
Declaration
public DocumentContainerHelper()
Fields
ForceIsActiveProperty
Specifies whether the IsActive property of the document should be forced to be set to true instead of depending from the focus.
Declaration
public static readonly DependencyProperty ForceIsActiveProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HoldSizeProperty
Represents the HoldSizeProperty Dependency property
Declaration
public static readonly DependencyProperty HoldSizeProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
IsMDIBorderProperty
Attached dependency property that indicates whether the specified element is the MDI border.
Declaration
public static readonly DependencyProperty IsMDIBorderProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
IsMDIHeaderProperty
Attached dependency property that indicates whether the specified element is the MDI header.
Declaration
public static readonly DependencyProperty IsMDIHeaderProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Methods
GetForceIsActive(DependencyObject)
Gets the force is active.
Declaration
public static bool GetForceIsActive(DependencyObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
Returns
| Type | Description |
|---|---|
| System.Boolean | bool ForceIsActiveProperty |
GetHoldSize(DependencyObject)
Gets the size of the hold.
Declaration
public static Size GetHoldSize(DependencyObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
Returns
| Type | Description |
|---|---|
| System.Windows.Size | Size HoldSizeProperty |
GetIsMDIBorder(DependencyObject)
Gets value, indicating whether the specified element is set to be the MDI border.
Declaration
public static bool GetIsMDIBorder(DependencyObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
Returns
| Type | Description |
|---|---|
| System.Boolean | bool IsMDIBorderProperty |
GetIsMDIHeader(DependencyObject)
Gets value, indicating whether the specified element is set to be the MDI header.
Declaration
public static bool GetIsMDIHeader(DependencyObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
Returns
| Type | Description |
|---|---|
| System.Boolean | bool IsMDIHeaderProperty |
SetForceIsActive(DependencyObject, Boolean)
Sets the force is active.
Declaration
public static void SetForceIsActive(DependencyObject obj, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
| System.Boolean | value | if set to |
SetHoldSize(DependencyObject, Size)
Sets the size of the hold.
Declaration
public static void SetHoldSize(DependencyObject obj, Size value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
| System.Windows.Size | value | The value. |
SetIsMDIBorder(DependencyObject, Boolean)
Sets value, indicating whether the specified element is set to be the MDI border.
Declaration
public static void SetIsMDIBorder(DependencyObject obj, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
| System.Boolean | value | if set to |
SetIsMDIHeader(DependencyObject, Boolean)
Sets value, indicating whether the specified element is set to be the MDI header.
Declaration
public static void SetIsMDIHeader(DependencyObject obj, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | obj | The obj DependencyObject. |
| System.Boolean | value | if set to |