Table of Contents

Class Style

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class Style : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Style
Implements
Inherited Members

Constructors

Style(bool, params ConstructArgument[])

protected Style(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

Style(IntPtr, bool)

protected Style(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

BackgroundPropertyDefinition

public static readonly Property<string?, Style> BackgroundPropertyDefinition

Field Value

Property<string, Style>

BackgroundSetPropertyDefinition

public static readonly Property<bool, Style> BackgroundSetPropertyDefinition

Field Value

Property<bool, Style>

BoldPropertyDefinition

public static readonly Property<bool, Style> BoldPropertyDefinition

Field Value

Property<bool, Style>

BoldSetPropertyDefinition

public static readonly Property<bool, Style> BoldSetPropertyDefinition

Field Value

Property<bool, Style>

ForegroundPropertyDefinition

public static readonly Property<string?, Style> ForegroundPropertyDefinition

Field Value

Property<string, Style>

ForegroundSetPropertyDefinition

public static readonly Property<bool, Style> ForegroundSetPropertyDefinition

Field Value

Property<bool, Style>

ItalicPropertyDefinition

public static readonly Property<bool, Style> ItalicPropertyDefinition

Field Value

Property<bool, Style>

ItalicSetPropertyDefinition

public static readonly Property<bool, Style> ItalicSetPropertyDefinition

Field Value

Property<bool, Style>

LineBackgroundPropertyDefinition

public static readonly Property<string?, Style> LineBackgroundPropertyDefinition

Field Value

Property<string, Style>

LineBackgroundSetPropertyDefinition

public static readonly Property<bool, Style> LineBackgroundSetPropertyDefinition

Field Value

Property<bool, Style>

PangoUnderlinePropertyDefinition

public static readonly Property<Underline, Style> PangoUnderlinePropertyDefinition

Field Value

Property<Underline, Style>

ScalePropertyDefinition

public static readonly Property<string?, Style> ScalePropertyDefinition

Field Value

Property<string, Style>

ScaleSetPropertyDefinition

public static readonly Property<bool, Style> ScaleSetPropertyDefinition

Field Value

Property<bool, Style>

StrikethroughPropertyDefinition

public static readonly Property<bool, Style> StrikethroughPropertyDefinition

Field Value

Property<bool, Style>

StrikethroughSetPropertyDefinition

public static readonly Property<bool, Style> StrikethroughSetPropertyDefinition

Field Value

Property<bool, Style>

UnderlineColorPropertyDefinition

public static readonly Property<string?, Style> UnderlineColorPropertyDefinition

Field Value

Property<string, Style>

UnderlineColorSetPropertyDefinition

public static readonly Property<bool, Style> UnderlineColorSetPropertyDefinition

Field Value

Property<bool, Style>

UnderlineSetPropertyDefinition

public static readonly Property<bool, Style> UnderlineSetPropertyDefinition

Field Value

Property<bool, Style>

WeightPropertyDefinition

public static readonly Property<Weight, Style> WeightPropertyDefinition

Field Value

Property<Weight, Style>

WeightSetPropertyDefinition

public static readonly Property<bool, Style> WeightSetPropertyDefinition

Field Value

Property<bool, Style>

Properties

Background

public string? Background { get; }

Property Value

string

BackgroundSet

public bool BackgroundSet { get; }

Property Value

bool

Bold

public bool Bold { get; }

Property Value

bool

BoldSet

public bool BoldSet { get; }

Property Value

bool

Foreground

public string? Foreground { get; }

Property Value

string

ForegroundSet

public bool ForegroundSet { get; }

Property Value

bool

Italic

public bool Italic { get; }

Property Value

bool

ItalicSet

public bool ItalicSet { get; }

Property Value

bool

LineBackground

public string? LineBackground { get; }

Property Value

string

LineBackgroundSet

public bool LineBackgroundSet { get; }

Property Value

bool

PangoUnderline

public Underline PangoUnderline { get; }

Property Value

Underline

Scale

public string? Scale { get; }

Property Value

string

ScaleSet

public bool ScaleSet { get; }

Property Value

bool

Strikethrough

public bool Strikethrough { get; }

Property Value

bool

StrikethroughSet

public bool StrikethroughSet { get; }

Property Value

bool

UnderlineColor

public string? UnderlineColor { get; }

Property Value

string

UnderlineColorSet

public bool UnderlineColorSet { get; }

Property Value

bool

UnderlineSet

public bool UnderlineSet { get; }

Property Value

bool

Weight

public Weight Weight { get; }

Property Value

Weight

WeightSet

public bool WeightSet { get; }

Property Value

bool

Methods

Apply(TextTag)

public void Apply(TextTag tag)

Parameters

tag TextTag

Copy()

public Style Copy()

Returns

Style

GetGType()

public static Type GetGType()

Returns

Type