// // Summary: // Initializes a new instance of the MaterialSkin.Controls.MaterialListViewSubItem // class with the specified owner and text. // // Parameters: // type: // A MaterialSkin.Controls.SubItemEditType that represents the type of item // // parent: // A System.Windows.Forms.Control object that represents parent item for editable objects // // owner: // A System.Windows.Forms.ListViewItem that represents the item that owns the // subitem. // // text: // The text to display for the subitem. public MaterialListViewSubItem(SubItemEditType type, Control parent, ListViewItem owner, string text) : base(owner, text) { Type = type; CreateEditControl(parent); }
// Summary: // Initializes a new instance of the MaterialSkin.Controls.MaterialListViewSubItem // class with default values. // Parameters: // type: // A MaterialSkin.Controls.SubItemEditType that represents the type of item // // parent: // A System.Windows.Forms.Control object that represents parent item for editable objects public MaterialListViewSubItem(SubItemEditType type, Control parent) : base() { Type = type; CreateEditControl(parent); }
// // Summary: // Initializes a new instance of the MaterialSkin.Controls.MaterialListViewSubItem // class with the specified owner, text, foreground color, background color, // and font values. // // Parameters: // type: // A MaterialSkin.Controls.SubItemEditType that represents the type of item // // owner: // A System.Windows.Forms.ListViewItem that represents the item that owns the // subitem. // // text: // The text to display for the subitem. // // parent: // A System.Windows.Forms.Control object that represents parent item for editable objects // // foreColor: // A System.Drawing.Color that represents the foreground color of the subitem. // // backColor: // A System.Drawing.Color that represents the background color of the subitem. // // font: // A System.Drawing.Font that represents the font to display the subitem's text // in. public MaterialListViewSubItem(SubItemEditType type, Control parent, ListViewItem owner, string text, Color foreColor, Color backColor, Font font) : base(owner, text, foreColor, backColor, font) { Type = type; CreateEditControl(parent); }