TableLayoutColumnStyleCollection.Contains(ColumnStyle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified ColumnStyle is in the collection.
public:
bool Contains(System::Windows::Forms::ColumnStyle ^ columnStyle);
public bool Contains (System.Windows.Forms.ColumnStyle columnStyle);
member this.Contains : System.Windows.Forms.ColumnStyle -> bool
Public Function Contains (columnStyle As ColumnStyle) As Boolean
Parameters
- columnStyle
- ColumnStyle
The ColumnStyle to locate in the TableLayoutColumnStyleCollection. The value can be null
.
Returns
true
if the ColumnStyle is found in the TableLayoutColumnStyleCollection; otherwise, false
.