Gets or sets a value indicating whether the bullet style is applied to the current selection.
Syntax
Visual Basic (Declaration) | |
---|
Public Property SelectionBullet As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RichTextBox
Dim value As Boolean
instance.SelectionBullet = value
value = instance.SelectionBullet
|
C# | |
---|
public bool SelectionBullet {get; set;} |
Return Value
True if the current selection has the bullet style applied; otherwise,
False.
Example
C# | Copy Code |
---|
private void detail_Format(object
sender, System.EventArgs eArgs)
{
if (this.rtbActiveReport.Find("List") != -1)
{
this.rtbActiveReport.SelectionStart = this.rtbActiveReport.Find("List") + 5;
this.rtbActiveReport.SelectionBullet = true;
}
} |
Visual Basic | Copy Code |
---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
If Not Me.rtbActiveReport.Find("List") = -1 Then
Me.rtbActiveReport.SelectionStart = Me.rtbActiveReport.Find("List") + 5
Me.rtbActiveReport.SelectionBullet = True
End If
End Sub |
See Also