Show / Hide Table of Contents

Class ChannelSelectorButton

Only needed to avoid the issue where right click on the button closes the popup but leaves the button highlighted.

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.Controls.BaseButton
Robust.Client.UserInterface.Controls.ContainerButton
Robust.Client.UserInterface.Controls.Button
ChannelSelectorButton
Namespace: Content.Client.UserInterface.Systems.Chat.Controls
Assembly: Content.Client.dll
Syntax
public sealed class ChannelSelectorButton : Button

Constructors

| Improve this Doc View Source

ChannelSelectorButton()

Declaration
public ChannelSelectorButton()

Properties

| Improve this Doc View Source

SelectedChannel

Declaration
public ChatSelectChannel SelectedChannel { get; }
Property Value
Type Description
ChatSelectChannel

Methods

| Improve this Doc View Source

ChannelSelectColor(ChatSelectChannel)

Declaration
public Color ChannelSelectColor(ChatSelectChannel channel)
Parameters
Type Name Description
ChatSelectChannel channel
Returns
Type Description
Color
| Improve this Doc View Source

ChannelSelectorName(ChatSelectChannel)

Declaration
public static string ChannelSelectorName(ChatSelectChannel channel)
Parameters
Type Name Description
ChatSelectChannel channel
Returns
Type Description
System.String
| Improve this Doc View Source

KeyBindDown(GUIBoundKeyEventArgs)

Declaration
protected override void KeyBindDown(GUIBoundKeyEventArgs args)
Parameters
Type Name Description
Robust.Client.UserInterface.GUIBoundKeyEventArgs args
Overrides
Robust.Client.UserInterface.Controls.BaseButton.KeyBindDown(Robust.Client.UserInterface.GUIBoundKeyEventArgs)
| Improve this Doc View Source

Select(ChatSelectChannel)

Declaration
public void Select(ChatSelectChannel channel)
Parameters
Type Name Description
ChatSelectChannel channel
| Improve this Doc View Source

UpdateChannelSelectButton(ChatSelectChannel, RadioChannelPrototype)

Declaration
public void UpdateChannelSelectButton(ChatSelectChannel channel, RadioChannelPrototype radio)
Parameters
Type Name Description
ChatSelectChannel channel
RadioChannelPrototype radio

Events

| Improve this Doc View Source

OnChannelSelect

Declaration
public event Action<ChatSelectChannel>? OnChannelSelect
Event Type
Type Description
System.Nullable<Action<ChatSelectChannel>>

Extension Methods

ControlExtension.GetControlOfType<T>(Control)
ControlExtension.GetControlOfType<T>(Control, String)
ControlExtension.GetControlOfType<T>(Control, Boolean)
ControlExtension.GetControlOfType<T>(Control, String, Boolean)
ControlExtension.GetSearchableControls(Control, Boolean)
ControlExtension.ChildrenContainText(Control, String)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾