public void Create() { // Set Display Attributes this.HAnchor = HAnchor.ParentLeftRight; this.BackgroundColor = ActiveTheme.Instance.PrimaryAccentColor; // Add Child Elements if (UserSettings.Instance.DisplayMode == ApplicationDisplayType.Responsive) { this.AddChild(new PrinterConnectAndSelectControl()); } this.AddChild(PrintStatusRow.Create(queueDataView)); this.Padding = new BorderDouble(bottom: 6); }
public void Create() { // Set Display Attributes this.HAnchor = HAnchor.ParentLeftRight; this.BackgroundColor = ActiveTheme.Instance.PrimaryAccentColor; // Add Child Elements if (UserSettings.Instance.DisplayMode == ApplicationDisplayType.Responsive) { this.AddChild(new ActionBar.PrinterActionRow()); } this.AddChild(PrintStatusRow.Create(queueDataView)); this.Padding = new BorderDouble(bottom: 6); // Add Handlers ActiveTheme.ThemeChanged.RegisterEvent(ThemeChanged, ref unregisterEvents); }