New to Telerik UI for WPFStart a free 30-day trial

Represents the content of the special category of the number tab of the FormatCellsDialog.

Definition

Constructors

Initializes a new instance of the SpecialCategoryContent class.

C#
public SpecialCategoryContent()

Fields

SelectedCultureProperty

DependencyProperty

Selected culture dependency property.

C#
public static readonly DependencyProperty SelectedCultureProperty

SelectedFormatInfosProperty

DependencyProperty

Selected format infos dependency property.

C#
public static readonly DependencyProperty SelectedFormatInfosProperty

SelectedFormatProperty

DependencyProperty

Selected format dependency property.

C#
public static readonly DependencyProperty SelectedFormatProperty

Properties

Category

FormatStringCategory

Gets the category.

C#
public override FormatStringCategory Category { get; }
Property Value:

The category.

Overrides: CategoryContentBase.Category

Gets the culture infos.

C#
public IEnumerable<CultureInfo> CultureInfos { get; }
Property Value:

The culture infos.

Gets the info.

C#
public override string Info { get; }
Property Value:

The info.

Overrides: CategoryContentBase.Info

Gets the initial format string.

C#
public override string InitialFormatString { get; }
Property Value:

The initial format string.

Overrides: CategoryContentBase.InitialFormatString

Gets or sets the selected culture.

C#
public CultureInfo SelectedCulture { get; set; }
Property Value:

The selected culture.

Gets or sets the selected format.

C#
public string SelectedFormat { get; set; }
Property Value:

The selected format.

SelectedFormatInfos

IList<SpecialFormatInfo>

Gets or sets the selected format infos.

C#
public IList<SpecialFormatInfo> SelectedFormatInfos { get; set; }
Property Value:

The selected format infos.

Methods

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when the window is closed.

C#
public override void OnWindowClosed()

Overrides: CategoryContentBase.OnWindowClosed()

Tries to apply format.

C#
public override bool TryApplyFormat(CellValueFormat format)
Parameters:formatCellValueFormat

The format.

Returns:

bool

The value indicating whether the format was successfully applied.

Overrides: CategoryContentBase.TryApplyFormat(CellValueFormat)