Table of Contents

Class TooltipProperty

Namespace
TaleWorlds.Core.ViewModelCollection.Information
Assembly
TaleWorlds.Core.ViewModelCollection.dll
public class TooltipProperty : ViewModel, IViewModel, INotifyPropertyChanged, ISerializableObject
Inheritance
TooltipProperty
Implements
Derived
Inherited Members

Constructors

TooltipProperty()

public TooltipProperty()

TooltipProperty(Func<string>, Func<string>, int, bool, TooltipPropertyFlags)

public TooltipProperty(Func<string> _definitionFunc, Func<string> _valueFunc, int textHeight, bool onlyShowWhenExtended = false, TooltipProperty.TooltipPropertyFlags modifier = TooltipPropertyFlags.None)

Parameters

_definitionFunc Func<string>
_valueFunc Func<string>
textHeight int
onlyShowWhenExtended bool
modifier TooltipProperty.TooltipPropertyFlags

TooltipProperty(Func<string>, Func<string>, int, Color, bool, TooltipPropertyFlags)

public TooltipProperty(Func<string> _definitionFunc, Func<string> _valueFunc, int textHeight, Color color, bool onlyShowWhenExtended = false, TooltipProperty.TooltipPropertyFlags modifier = TooltipPropertyFlags.None)

Parameters

_definitionFunc Func<string>
_valueFunc Func<string>
textHeight int
color Color
onlyShowWhenExtended bool
modifier TooltipProperty.TooltipPropertyFlags

TooltipProperty(Func<string>, Func<string>, object[], int, bool, TooltipPropertyFlags)

public TooltipProperty(Func<string> _definitionFunc, Func<string> _valueFunc, object[] valueArgs, int textHeight, bool onlyShowWhenExtended = false, TooltipProperty.TooltipPropertyFlags modifier = TooltipPropertyFlags.None)

Parameters

_definitionFunc Func<string>
_valueFunc Func<string>
valueArgs object[]
textHeight int
onlyShowWhenExtended bool
modifier TooltipProperty.TooltipPropertyFlags

TooltipProperty(string, Func<string>, int, bool, TooltipPropertyFlags)

public TooltipProperty(string definition, Func<string> _valueFunc, int textHeight, bool onlyShowWhenExtended = false, TooltipProperty.TooltipPropertyFlags modifier = TooltipPropertyFlags.None)

Parameters

definition string
_valueFunc Func<string>
textHeight int
onlyShowWhenExtended bool
modifier TooltipProperty.TooltipPropertyFlags

TooltipProperty(string, Func<string>, int, Color, bool, TooltipPropertyFlags)

public TooltipProperty(string definition, Func<string> _valueFunc, int textHeight, Color color, bool onlyShowWhenExtended = false, TooltipProperty.TooltipPropertyFlags modifier = TooltipPropertyFlags.None)

Parameters

definition string
_valueFunc Func<string>
textHeight int
color Color
onlyShowWhenExtended bool
modifier TooltipProperty.TooltipPropertyFlags

TooltipProperty(string, string, int, bool, TooltipPropertyFlags)

public TooltipProperty(string definition, string value, int textHeight, bool onlyShowWhenExtended = false, TooltipProperty.TooltipPropertyFlags modifier = TooltipPropertyFlags.None)

Parameters

definition string
value string
textHeight int
onlyShowWhenExtended bool
modifier TooltipProperty.TooltipPropertyFlags

TooltipProperty(string, string, int, Color, bool, TooltipPropertyFlags)

public TooltipProperty(string definition, string value, int textHeight, Color color, bool onlyShowWhenExtended = false, TooltipProperty.TooltipPropertyFlags modifier = TooltipPropertyFlags.None)

Parameters

definition string
value string
textHeight int
color Color
onlyShowWhenExtended bool
modifier TooltipProperty.TooltipPropertyFlags

TooltipProperty(TooltipProperty)

public TooltipProperty(TooltipProperty property)

Parameters

property TooltipProperty

Properties

DefinitionLabel

public string DefinitionLabel { get; set; }

Property Value

string

OnlyShowWhenExtended

public bool OnlyShowWhenExtended { get; set; }

Property Value

bool

OnlyShowWhenNotExtended

public bool OnlyShowWhenNotExtended { get; set; }

Property Value

bool

PropertyModifier

public int PropertyModifier { get; set; }

Property Value

int

TextColor

public Color TextColor { get; set; }

Property Value

Color

TextHeight

public int TextHeight { get; set; }

Property Value

int

ValueLabel

public string ValueLabel { get; set; }

Property Value

string

Methods

DeserializeFrom(IReader)

public void DeserializeFrom(IReader reader)

Parameters

reader IReader

RefreshDefinition()

public void RefreshDefinition()

RefreshValue()

public void RefreshValue()

SerializeTo(IWriter)

public void SerializeTo(IWriter writer)

Parameters

writer IWriter

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).