skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CurrencyCategoryContent

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

Inheritance
System.Object
ControlBase
CategoryContentBase
CurrencyCategoryContent
Inherited Members
CategoryContentBase.DefaultCulture
CategoryContentBase.CellValueFormatProperty
CategoryContentBase.CellValueProperty
CategoryContentBase.SampleValueProperty
CategoryContentBase.OnCategorySelected()
CategoryContentBase.OnCellFormatValueChanged()
CategoryContentBase.CellValueFormat
CategoryContentBase.CellValue
CategoryContentBase.SampleValue
ControlBase.GetTemplateChild<T>(String)
ControlBase.GetRequiredTemplateChild<T>(String, Boolean)
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll

Syntax

public class CurrencyCategoryContent : CategoryContentBase

Constructors

CurrencyCategoryContent()

Initializes a new instance of the CurrencyCategoryContent class.

Declaration
public CurrencyCategoryContent()

Fields

DecimalPlacesProperty

Decimal places dependency property.

Declaration
public static readonly DependencyProperty DecimalPlacesProperty
Field Value
System.Windows.DependencyProperty

SelectedCurrencyInfoProperty

Selected currency info dependency property.

Declaration
public static readonly DependencyProperty SelectedCurrencyInfoProperty
Field Value
System.Windows.DependencyProperty

SelectedNumberItemProperty

Selected number item dependency property.

Declaration
public static readonly DependencyProperty SelectedNumberItemProperty
Field Value
System.Windows.DependencyProperty

Properties

Category

Gets the category.

Declaration
public override FormatStringCategory Category { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.FormatStringCategory

The category.

Overrides
CategoryContentBase.Category

CurrencyInfos

Gets the currency infos.

Declaration
public IEnumerable<CurrencyInfo> CurrencyInfos { get; }
Property Value
System.Collections.Generic.IEnumerable<Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.CurrencyInfo>

The currency infos.

DecimalPlaces

Gets or sets the decimal places.

Declaration
public int DecimalPlaces { get; set; }
Property Value
System.Int32

The decimal places.

Info

Gets the info.

Declaration
public override string Info { get; }
Property Value
System.String

The info.

Overrides
CategoryContentBase.Info

InitialFormatString

Gets the initial format string.

Declaration
public override string InitialFormatString { get; }
Property Value
System.String

The initial format string.

Overrides
CategoryContentBase.InitialFormatString

NumberItems

Gets the number items.

Declaration
public ObservableCollection<NumberItem> NumberItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<NumberItem>

The number items.

SelectedCurrencyInfo

Gets or sets the selected currency info.

Declaration
public CurrencyInfo SelectedCurrencyInfo { get; set; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.CurrencyInfo

The selected currency info.

SelectedNumberItem

Gets or sets the selected number item.

Declaration
public NumberItem SelectedNumberItem { get; set; }
Property Value
NumberItem

The selected number item.

Methods

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnWindowClosed()

Called when the window is closed.

Declaration
public override void OnWindowClosed()
Overrides
CategoryContentBase.OnWindowClosed()

TryApplyFormat(CellValueFormat)

Tries to apply format.

Declaration
public override bool TryApplyFormat(CellValueFormat format)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellValueFormat format

The format.

Returns
System.Boolean

The value indicating whether the format was successfully applied.

Overrides
CategoryContentBase.TryApplyFormat(CellValueFormat)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.