Visual Basic (Declaration) | |
---|---|
Public Property SelectionColor As Color |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color SelectionColor {get; set;} |
Return Value
A System.Drawing.Color value that represents the color to apply to the current text selection.C# | Copy Code |
---|---|
private void detail_Format(object
sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format |
If the current text selection has more than one color specified, this property returns Color.Empty.