Search Results for

    Show / Hide Table of Contents

    Interface ITextMarker

    Represents a text marker.

    Namespace: ICSharpCode.SharpDevelop.Editor
    Assembly: SqlDotNet.Debugger.dll
    Syntax
    public interface ITextMarker

    Properties

    | Improve this Doc View Source

    BackgroundColor

    Gets/Sets the background color.

    Declaration
    Color? BackgroundColor { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Windows.Media.Color>
    | Improve this Doc View Source

    EndOffset

    Gets the end offset of the marked text region.

    Declaration
    int EndOffset { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    FontStyle

    Gets/Sets the font style.

    Declaration
    FontStyle? FontStyle { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Windows.FontStyle>
    | Improve this Doc View Source

    FontWeight

    Gets/Sets the font weight.

    Declaration
    FontWeight? FontWeight { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Windows.FontWeight>
    | Improve this Doc View Source

    ForegroundColor

    Gets/Sets the foreground color.

    Declaration
    Color? ForegroundColor { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Windows.Media.Color>
    | Improve this Doc View Source

    IsDeleted

    Gets whether the text marker was deleted.

    Declaration
    bool IsDeleted { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Length

    Gets the length of the marked region.

    Declaration
    int Length { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    MarkerColor

    Gets/Sets the color of the marker.

    Declaration
    Color MarkerColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Color
    | Improve this Doc View Source

    MarkerTypes

    Gets/Sets the type of the marker. Use TextMarkerType.None for normal markers.

    Declaration
    TextMarkerTypes MarkerTypes { get; set; }
    Property Value
    Type Description
    TextMarkerTypes
    | Improve this Doc View Source

    StartOffset

    Gets the start offset of the marked text region.

    Declaration
    int StartOffset { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Tag

    Gets/Sets an object with additional data for this text marker.

    Declaration
    object Tag { get; set; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    ToolTip

    Gets/Sets an object that will be displayed as tooltip in the text editor.

    Declaration
    object ToolTip { get; set; }
    Property Value
    Type Description
    System.Object
    Remarks

    Not supported in this sample!

    Methods

    | Improve this Doc View Source

    Delete()

    Deletes the text marker.

    Declaration
    void Delete()

    Events

    | Improve this Doc View Source

    Deleted

    Event that occurs when the text marker is deleted.

    Declaration
    event EventHandler Deleted
    Event Type
    Type Description
    System.EventHandler
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx