A2v10 Platform documentation
UK


PeriodPicker Control

Represents a period selector.

The Value property must always be associated with an instance of the TPeriod class.

Inherits: ValuedControl : Control : UIElement : UIElementBase

Properties

Name Type Description
Align TextAlign Text alignment.
Placement DropDownPlacement The direction of the selector’s "dropout". Possible values:
  • BottomLeft - (by default) downwards with the left edge fixed
  • BottomRight - downwards with the right edge fixed.
  • TopLeft - upwards with the left edge fixed.
  • TopRight - upwards with the right edge fixed.
Style PeriodPickerStyle Selector type. Possible values:
  • Default - (by default) regular selector.
  • Hyperlink - display as a hyperlink.
Display DisplayMode Display the period in the selector’s header. Possible values:
  • Date - (by default) dates only.
  • Name - the period name.
  • NameDate - the period and date name.
ShowAllData Boolean Whether to show the "For all time" menu item.
Size ControlSize Item size. In the current version, only supported for the Hyperlink style. Possible values::
  • Default - (by default) regular size hyperlink.
  • Large - hyperlink size increased.
(the rest of the ControlSize enumeration values are not supported).
Base item properties

Example