ActiveReports 14 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / RichTextBox Class / SelectionBullet Property
Example

In This Topic
    SelectionBullet Property
    In This Topic
    Gets or sets a value indicating whether the bullet style is applied to the current selection.
    Syntax
    'Declaration
     
    Public Property SelectionBullet As Boolean
    public bool SelectionBullet {get; set;}

    Property Value

    True if the current selection has the bullet style applied; otherwise, False.
    Example
    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;
        }
    }
    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