Version

TableRowHeight Structure

Represents the height of a table row.
Syntax
'Declaration
 
Public Structure TableRowHeight 
   Inherits System.ValueType
public struct TableRowHeight : System.ValueType 
Remarks

Note: a type converter is supplied to allow this structure to be specified in xaml. Here are some sample values, in quotes, along with corresponding c# code examples:

  • "auto" - new TableRowHeight(new Extent(0, ExtentUnitType.Emus), ExtentRule.Auto)
  • "12.5" - new TableRowHeight(new Extent(12.5, ExtentUnitType.Points), ExtentRule.Exact)
  • "20.5px" - new TableRowHeight(new Extent(20.5, ExtentUnitType.LogicalPixels), ExtentRule.Exact)
  • "atleast 12.5pt" - new TableRowHeight(new Extent(12.5, ExtentUnitType.Points), ExtentRule.AtLeast)
  • "atleast 20.5px" - new TableRowHeight(new Extent(20.5, ExtentUnitType.LogicalPixels), ExtentRule.AtLeast)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also