Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / EditBase Class / IsReadOnlyCaretVisible Property


In This Topic
    IsReadOnlyCaretVisible Property
    In This Topic
    Gets or sets a value that indicates whether a read-only editor control displays a cursor. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property IsReadOnlyCaretVisible As Boolean
    'Usage
     
    Dim instance As EditBase
    Dim value As Boolean
     
    instance.IsReadOnlyCaretVisible = value
     
    value = instance.IsReadOnlyCaretVisible
    public bool IsReadOnlyCaretVisible {get; set;}

    Property Value

    true if a read-only editor control displays a caret; otherwise, false. The default is false.
    Remarks
    When GrapeCity.Windows.InputMan.Primitives.EditBase.IsReadOnly is true, a user can still select and copy text. If the GrapeCity.Windows.InputMan.Primitives.EditBase.IsReadOnlyCaretVisible property is also set to true, a caret will appear in the editor control when the editor control has keyboard focus. When GrapeCity.Windows.InputMan.Primitives.EditBase.IsReadOnly is false, the GrapeCity.Windows.InputMan.Primitives.EditBase.IsReadOnlyCaretVisible property has no effect.
    See Also