<PackageReference Include="Relativity.Server.EventHandler.SDK" Version="5000.0.2" />

ConsoleButton

public class ConsoleButton : IConsoleItem
Creates console button instances.
public string CssClass { get; set; }

Gets or sets a console button CSS class.

public string DisplayText { get; set; }

Gets or sets the display text of a console button.

public bool Enabled { get; set; }

Updates the Enabled property and sets the CSS class accordingly for the button. This won't overwrite any extra CSS classes or use default classes if the CSS class has been explicitly set.

public string Name { get; set; }

Gets or sets a console button name.

public string OnClickEvent { get; set; }

Gets or sets a string value which is executed when a console button is clicked.

public bool RaisesPostBack { get; set; }

Gets or sets a console button Boolean value indicating whether to raise a post back on a click event.

public string StyleAttribute { get; set; }

Gets or sets a style attribute of a console button.

public string ToolTip { get; set; }

Gets or sets a console button tool tip.

public ConsoleButton()

Initializes a new instance of the ConsoleButton class.

protected virtual void UpdateCssClassForEnabled(bool isEnabled)

Updates CSS class of a console button based on its enabled property.