Excerpt |
---|
Returns a BorderPart object representing the specified part of the border. This is the indexer for the Border object. |
Signature |
---|
C# | C# | Wiki Markup |
---|
{description}
{excerpt}Returns a BorderPart object representing the specified part of the border. This is the indexer for the Border object.{excerpt}
{signature:C#}
public BorderPart this[Part part] { get; }
|
Signature |
---|
{signature}{signature:vb.net | vb.net | }
Public Default ReadOnly Property Item(ByVal part As Part) As BorderPart
|
...
The part of the border for which to set the line style.
Returns |
---|
The BorderPart object representing the specified part of the border. |
Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{signature}
{parameters}
{param:part}The part of the border for which to set the line style.{param}
{returns}The BorderPart object representing the specified part of the border.{returns}
{example}{code:csharp|title=C#}
BorderPart bp = b[Border.Part.Left];
Code Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim bp As BorderPart = b.Item(Border.Part.Left)
...
{code}
{example}
{scrollbar} |