In this article we create a function in c# language that bind all system’s fonts in a Listview control, with the fonts displayed by name in that format. you can see below picture.
Continue reading Bind fonts by name with their font style in the ListView in c#
In this article we will learn that how to add contextmenu or contextmenustrip in treeview nodes at design time as well as runtime using c# programming language.
Continue reading Add ContextMenu to treeview nodes in c#
In this article we will learn that how to create TreeView control from datatable object in c# programming language.
Continue reading Create Treeview from Datatable in c#
A check box can display to the left of both the tree node label and tree node Image, if any. Check boxes allow the user to select more than one tree node at a time.You can do it with the help of ‘CheckBoxes’ property.
Continue reading Checkboxes in TreeView control in C#
The Windows Forms TreeView control has the top-level nodes in its Nodes collection. Each TreeNode also has its own Nodes collection to store its child nodes.
Continue reading How to Add and Remove Nodes with the TreeView Control at runtime in .net
You can display an icon with treeview control. You can simply display the icons that are positioned to the left of the nodes.
To display these icons, you must associate the tree view with an ImageList control.
Continue reading How to set Icons or Images to nodes of TreeView Control in .net
This is very common task to determine which node was clicked, when we work with the windows Forms TreeView control. We use ‘AfterSelect’ event of the TreeView control. The ‘AfterSelect’ event has an event argument of the ‘TreeViewEventArgs’ class which contains the data related to selected Node and the Action (type of action that raised the event). Continue reading How to determine Which TreeView Node Was Clicked in TreeView Control in .net
In this article we will discuss about how to create treeview at run time in C#. Here is the example that also describe that how we can add nodes to treeview control at run time in C#. Continue reading Create TreeView control at runtime using C#
You can display additional information about cell or description of cell content to user with the help of tooltips.You can add ToolTips to Individual Cells.
Continue reading How to add ToolTips to Individual Cells in a Windows Forms DataGridView Control.
You can determine the current screen resolution of your machine with the help of System.Windows.Forms.Screen class.
In this code sample we are using PrimaryScreen.Bounds property for finding width and height of the display or monitor
Continue reading Get the Screen Resolution of your computer in .net