Dock Panels. Additional Customization

Dock Panels settings in the Application Model are divided into the following groups:

  • Platform independent settings
  • Settings specific to Win-platform
  • Settings specific to the Web platform

Platform Independent Settings

Platform-independent settings are shared. They are provided by the XafariDockPanelsModule module. The node of any Dock Panel, regardless of a target application platform,  provides the following properties:

ActionsToolbarVisibility property specifies whether or not a Dock Panel displays the Toolbar.

AllowEdit property specifies whether it is possible to edit displayed data.

Delay property specifies in milliseconds the data refresh time. This option is relevant in the situation, when the Dock Panel and the General View displays the related data. If the delay time on the Master-object does not exceed Delay, then the Detail information will not be refreshed.

Group property specifies an additional level of grouping when displaying the Action that manages the visibility of a Dock Panel:

RelationType, RelationCriteria, View and Guid properties are described above, see Use Cases section.

TargetViewType property specifies the type of the General View, for which the Dock Panel will be active. This option is only available for the ClassDockPanel (see Use Cases section).

TargetWindowType property specifies the type of Windows for which the Dock Panel will be available.

Criteria property specifies an additional filter for the List View, this setting is available only if the Dock Panel displays the List View.

Settings specific to Win-platform

When used in Windows Forms applications, Dock Panels options are expanded by a 2 positions:

DockStyle property specifies the initial placement.

DockVisibility property specifies the initial visibility.

Settings specific to the Web platform

When used in ASP.NET applications, Dock Panels options are expanded by a 11 positions:

MinHeight property specifies the minimum allowed height of the Dock Panel window.

MinWidth property specifies the minimum allowed width of the Dock Panel window.

ShowCloseButton property specifies whether or not a Dock Panel window displays the Close button.

ShowCollapseButton property specifies whether or not a Dock Panel window displays the Collapse button.

ShowMaximizeButton property specifies whether or not a Dock Panel window displays the Maximize button.

ShowPinButton property specifies whether or not a Dock Panel window displays the Pin button.

ShowRefreshButton C Refresh button.

ShowFooter property specifies whether or not a Dock Panel window displays the footer.

ShowHeader property specifies whether or not a Dock Panel window displays the header.

AllowResize property specifies whether the end-user to change the window size.

Visible property specifies the initial visibility.