Table of Contents

Class MinecraftMotd

Namespace
McServerLauncher.Behaviors
Assembly
McServerLauncher.dll

Attached property that renders a Minecraft MOTD (with § color/format codes) as colored text inside a TextBlock, just like it looks in the game's server list.

public static class MinecraftMotd
Inheritance
MinecraftMotd
Inherited Members

Fields

TextProperty

public static readonly AttachedProperty<string?> TextProperty

Field Value

AttachedProperty<string>

Methods

GetText(TextBlock)

public static string? GetText(TextBlock o)

Parameters

o TextBlock

Returns

string

SetText(TextBlock, string?)

public static void SetText(TextBlock o, string? v)

Parameters

o TextBlock
v string