GrapeCity.Win.MultiRow Namespace > CellStyle Class : LineAdjustment Property |
<SRDescriptionAttribute("Indicates the adjustment between lines that is displayed for a cell when Cell is in multi-line display mode. The adjustment is not applied if the UseCompatibleTextRendering property is set to False, regardless of the value of the LineAdjustment property. Note: The cell text position may not match between edit mode and non-edit mode when the UseCompatibleTextRendering's value is True.")> <RefreshPropertiesAttribute(RefreshProperties.Repaint)> <EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.LineAdjustmentEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")> <SRCategoryAttribute("TextAppearance")> <DefaultValueAttribute()> Public Property LineAdjustment As LineAdjustment
Dim instance As CellStyle Dim value As LineAdjustment instance.LineAdjustment = value value = instance.LineAdjustment
[SRDescription("Indicates the adjustment between lines that is displayed for a cell when Cell is in multi-line display mode. The adjustment is not applied if the UseCompatibleTextRendering property is set to False, regardless of the value of the LineAdjustment property. Note: The cell text position may not match between edit mode and non-edit mode when the UseCompatibleTextRendering's value is True.")] [RefreshProperties(RefreshProperties.Repaint)] [Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.LineAdjustmentEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")] [SRCategory("TextAppearance")] [DefaultValue()] public LineAdjustment LineAdjustment {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The specified value is not a LineAdjustment value. |
Note: |
---|
This property only takes effect when the UseCompatibleTextRendering property value is MultiRowTriState.True. |
Target Platforms: Windows 7, 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