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
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TableRowHeightBase<TEnum>

Base type for describing row height with a typed mode (TEnum) and a DIP value for layout.

Inheritance
System.Object
TableRowHeightBase<TEnum>
TableRowHeight
TableRowHeight
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Model.Tables
Assembly: Telerik.Windows.Documents.Core.dll

Syntax

public abstract class TableRowHeightBase<TEnum>
    where TEnum : Enum
Type Parameters
TEnum

The enum type that defines specific height-related options for the table row. Must be a type derived from System.Enum.

Properties

Type

Gets the height mode from TEnum, which determines how Value affects layout.

Declaration
public TEnum Type { get; }
Property Value
TEnum

The type of the height.

Value

Gets the row height value in device-independent pixels (1/96 inch), interpreted per the selected Type.

Declaration
public double Value { get; }
Property Value
System.Double

The value.

Methods

Equals(Object)

Determine whether the specified System.Object equals this row-height descriptor.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The System.Object to compare with the current System.Object.

Returns
System.Boolean

Returns true if the specified System.Object is equal to the current instance; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Generate a hash based on the height Value and Type.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for the current System.Object.

Overrides
System.Object.GetHashCode()

Operators

Equality(TableRowHeightBase<TEnum>, TableRowHeightBase<TEnum>)

Compare two row-height descriptors for equality of type and value.

Declaration
public static bool operator ==(TableRowHeightBase<TEnum> a, TableRowHeightBase<TEnum> b)
Parameters
TableRowHeightBase<TEnum> a

TableRowHeightBase<TEnum> b

Returns
System.Boolean

True if the table row heights are equal.

Inequality(TableRowHeightBase<TEnum>, TableRowHeightBase<TEnum>)

Compare two row-height descriptors for inequality.

Declaration
public static bool operator !=(TableRowHeightBase<TEnum> a, TableRowHeightBase<TEnum> b)
Parameters
TableRowHeightBase<TEnum> a

TableRowHeightBase<TEnum> b

Returns
System.Boolean

True if the table row heights are different.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • 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.