skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    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 TableCellProperties

Represents the properties of a table cell, providing customization options for styling, borders, and other cell characteristics in a document model.

Inheritance
System.Object
DocumentElementPropertiesBase
TableCellProperties
Inherited Members
DocumentElementPropertiesBase.GetStyleProperty(IStylePropertyDefinition)
DocumentElementPropertiesBase.GetStyleProperty(String)
DocumentElementPropertiesBase.CopyPropertiesFrom(DocumentElementPropertiesBase)
DocumentElementPropertiesBase.MergePropertiesWith(DocumentElementPropertiesBase)
DocumentElementPropertiesBase.ToString()
DocumentElementPropertiesBase.ClearProperties()
DocumentElementPropertiesBase.IElementWithStyle.StyleNameChanged()
DocumentElementPropertiesBase.IElementWithStyle.OnStyleRemovedFromDocument()
DocumentElementPropertiesBase.IElementWithStyle.StylePropertyChanging(Object, StylePropertyChangeEventArgs)
DocumentElementPropertiesBase.IElementWithStyle.StylePropertyChanged(Object, StylePropertyChangeEventArgs)
DocumentElementPropertiesBase.OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)
DocumentElementPropertiesBase.OnStyleChanged()
DocumentElementPropertiesBase.OnStyleChanging()
DocumentElementPropertiesBase.ValidateStyleType(StyleDefinition)
DocumentElementPropertiesBase.StyleProperties
DocumentElementPropertiesBase.StyleName
DocumentElementPropertiesBase.OriginalStyleName
DocumentElementPropertiesBase.Style
DocumentElementPropertiesBase.HasRevisions
DocumentElementPropertiesBase.RevisionInfo
DocumentElementPropertiesBase.OriginalProperties
DocumentElementPropertiesBase.IElementWithStyle.StyleName
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class TableCellProperties : DocumentElementPropertiesBase, IElementWithStyle

Constructors

TableCellProperties()

Declaration
public TableCellProperties()

TableCellProperties(DocumentElement)

Declaration
public TableCellProperties(DocumentElement owner)
Parameters
DocumentElement owner

TableCellProperties(StyleDefinition)

Declaration
public TableCellProperties(StyleDefinition owner)
Parameters
StyleDefinition owner

Properties

Background

Gets or sets the background properties of the table cell.

Declaration
[XamlSerializable]
public Color Background { get; set; }
Property Value
System.Windows.Media.Color

An object representing the background settings for the table cell, which can include color, image, and other background rendering options.

Borders

Gets or sets the borders of the table cell properties.

Declaration
[XamlSerializable]
public TableCellBorders Borders { get; set; }
Property Value
TableCellBorders

A collection of border settings that define the appearance of the cell borders.

Padding

Gets or sets the padding inside the table cell, which defines the space between the cell content and the cell border.

Declaration
[XamlSerializable]
public Padding Padding { get; set; }
Property Value
Padding

ThemeBackground

Gets or sets the theme background properties of the table cell.

Declaration
[XamlSerializable]
public ThemeColorsEnum ThemeBackground { get; set; }
Property Value
ThemeColorsEnum

The theme background properties applied to the table cell.

ThemeFillShade

Gets or sets the theme fill shade of the table cell properties.

Declaration
[XamlSerializable]
public string ThemeFillShade { get; set; }
Property Value
System.String

A value representing the theme fill shade, which determines the color and shading of the cell.

ThemeFillTint

Gets or sets the tint applied to the theme fill of the table cell properties.

Declaration
[XamlSerializable]
public string ThemeFillTint { get; set; }
Property Value
System.String

A double value representing the tint percentage applied to the theme fill, where 0.0 indicates no tint and 1.0 indicates full tint. The value should be within the range of 0.0 to 1.0.

VerticalAlignment

Gets or sets the vertical alignment of the content within the table cell.

Declaration
[XamlSerializable]
public RadVerticalAlignment VerticalAlignment { get; set; }
Property Value
RadVerticalAlignment

A value indicating the vertical alignment of the cell's content. Possible values include top, middle, bottom, or baseline.

Methods

CreateInstance()

Declaration
protected override DocumentElementPropertiesBase CreateInstance()
Returns
DocumentElementPropertiesBase

Overrides
DocumentElementPropertiesBase.CreateInstance()

InitProperties()

Declaration
protected override void InitProperties()
Overrides
DocumentElementPropertiesBase.InitProperties()

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.