Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Returns a BorderPart object representing the specified part of the border. This is the indexer for the Border object.

Signature
C#
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
{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#}
Parameters
Param
part
part

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
titleC#

BorderPart bp = b[Border.Part.Left];
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim bp As BorderPart = b.Item(Border.Part.Left)
{code} {example} {scrollbar}
Scrollbar