Showing category:

.NET
The protected keyword in CSharp, what is it used for?

The protected keyword in CSharp, what is it used for?

The protected keyword is an access modifier applied to the declaration of a class and any of its members that restricts the scope of accessibility to either within the class (or struct) where it is declared or from classes derived (inherited) from it.

Read
Data binding UI controls to ListView columns in .NET WinForms

Data binding UI controls to ListView columns in .NET WinForms

In this tutorial, we will look at binding a form control such as a label and checkbox to a ListView column in .NET (4.7) WinForms (Window Forms).

Its features will include:

  • Updating the content/CheckState of the bound control where there is a selection change on the ListView
  • Using a button to modify the column’s item with the value contained in the bound control
  • Create and add a new item to the listview according to values present in the bounded controls
Read