internal TableControlColumnHeader(TableColumnHeaderDefinition colheaderdefinition) { if (colheaderdefinition.label != null) { this._label = colheaderdefinition.label.text; } this._alignment = (System.Management.Automation.Alignment) colheaderdefinition.alignment; this._width = colheaderdefinition.width; }
internal TableControlColumnHeader(TableColumnHeaderDefinition colheaderdefinition) { if (colheaderdefinition.label != null) { this._label = colheaderdefinition.label.text; } this._alignment = (System.Management.Automation.Alignment)colheaderdefinition.alignment; this._width = colheaderdefinition.width; }
public TableControlColumnHeader(string label, int width, System.Management.Automation.Alignment alignment) { if (width < 0) { throw PSTraceSource.NewArgumentOutOfRangeException("width", width); } this._label = label; this._width = width; this._alignment = alignment; }
public TableControlColumnHeader(string label, int width, System.Management.Automation.Alignment alignment) { if (width < 0) { throw PSTraceSource.NewArgumentOutOfRangeException("width", width); } this._label = label; this._width = width; this._alignment = alignment; }
internal WideControl(WideControlBody widecontrolbody) { this._entries = new List<WideControlEntryItem>(); this._columns = (int) widecontrolbody.columns; this._aligment = (System.Management.Automation.Alignment) widecontrolbody.alignment; this._entries.Add(new WideControlEntryItem(widecontrolbody.defaultEntryDefinition)); foreach (WideControlEntryDefinition definition in widecontrolbody.optionalEntryList) { this._entries.Add(new WideControlEntryItem(definition)); } }
internal WideControl(WideControlBody widecontrolbody) { this._entries = new List <WideControlEntryItem>(); this._columns = (int)widecontrolbody.columns; this._aligment = (System.Management.Automation.Alignment)widecontrolbody.alignment; this._entries.Add(new WideControlEntryItem(widecontrolbody.defaultEntryDefinition)); foreach (WideControlEntryDefinition definition in widecontrolbody.optionalEntryList) { this._entries.Add(new WideControlEntryItem(definition)); } }
internal TableControlColumn(string text, int alignment, bool isscriptblock) { this._alignment = (System.Management.Automation.Alignment) alignment; if (isscriptblock) { this._entry = new System.Management.Automation.DisplayEntry(text, DisplayEntryValueType.ScriptBlock); } else { this._entry = new System.Management.Automation.DisplayEntry(text, DisplayEntryValueType.Property); } }
internal TableControlColumn(string text, int alignment, bool isscriptblock) { this._alignment = (System.Management.Automation.Alignment)alignment; if (isscriptblock) { this._entry = new System.Management.Automation.DisplayEntry(text, DisplayEntryValueType.ScriptBlock); } else { this._entry = new System.Management.Automation.DisplayEntry(text, DisplayEntryValueType.Property); } }
public TableControlColumn(System.Management.Automation.Alignment alignment, System.Management.Automation.DisplayEntry entry) { this._alignment = alignment; this._entry = entry; }
public TableControlColumn(System.Management.Automation.Alignment alignment, System.Management.Automation.DisplayEntry entry) { this._alignment = alignment; this._entry = entry; }