[]
        
(Showing Draft Content)

C1.Win.Calendar.DateRangeEdit.PredefinedRangeStyle

PredefinedRangeStyle Class

The PredefinedRangeStyle class represents the style of a PredefinedRange list item in different states.

Inheritance
PredefinedRangeStyle
Namespace: C1.Win.Calendar.DateRangeEdit
Assembly: C1.Win.Calendar.10.dll
Syntax
public class PredefinedRangeStyle : ItemBaseStyle
Public Class PredefinedRangeStyle
    Inherits ItemBaseStyle

Properties

Name Description
Border

Gets or sets the thickness of the border around the element.

Corners

Gets or sets the radii of the element corners.

Font

Gets or sets the text font of the element.

Margins

Gets or sets the thickness of the margins around the element.

Padding

Gets or sets the thickness of the padding between the element edges and its content.

Methods

Name Description
ResetBorder()

Restores the default value of the Border property.

ResetCorners()

Restores the default value of the Corners property.

ResetFont()

Restores the default value of the Font property.

ResetMargins()

Restores the default value of the Margins property.

ResetPadding()

Restores the default value of the Padding property.

ShouldSerializeBorder()

Specifies whether to save the value of the Border property.

ShouldSerializeCorners()

Specifies whether to save the value of the Corners property.

ShouldSerializeFont()

Specifies whether to save the value of the Font property.

ShouldSerializeMargins()

Specifies whether to save the value of the Margins property.

ShouldSerializePadding()

Specifies whether to save the value of the Padding property.