XmlMappedRange.IndentLevel Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the indent level for the XmlMappedRange control.
public:
property System::Object ^ IndentLevel { System::Object ^ get(); void set(System::Object ^ value); };
public object IndentLevel { get; set; }
member this.IndentLevel : obj with get, set
Public Property IndentLevel As Object
The indent level for the XmlMappedRange control.
The following code example uses the IndentLevel property to set the indent level of an XmlMappedRange to 3. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell
.
private void SetIndentLevel()
{
this.CustomerLastNameCell.Value2 = "Smith";
this.CustomerLastNameCell.IndentLevel = 3;
}
Private Sub SetIndentLevel()
Me.CustomerLastNameCell.Value2 = "Smith"
Me.CustomerLastNameCell.IndentLevel = 3
End Sub
The indent level can be an integer from 0 to 15.
Using this property to set the indent level to a number less than 0 (zero) or greater than 15 causes an error.