Dev cày

Blog sharing knowledge of Nguyen Xuan Luan

Java - How to return the next indexOf after a previous

How to return the next indexOf after a previous

Read more

Find all saved wifi passwords in windows 10

Find all saved wifi passwords in windows 10

Read more

Auto close img tag using javascript

Auto close img tag using javascript

Read more

Find a WPF element inside DataTemplate using c#

Find a WPF element inside DataTemplate using c#

Read more

Button performclick wpf

Button performclick wpf

Read more

WPF - Using Grid Panel for ItemsControl

Hello everyone, today I will show you a way to display the data of ItemsControl as a Grid Panel. First I will create a class to display data

Read more

WPF - Automatically sort a GridView when clicking on a column header

In WPF to present data as a grid we can use GridView. However, if you want to sort it, it's a bit trickier with the DataGridView in Windows Forms (when the user clicks on the column header, the grid is automatically sorted). After a while of researching I found a solution to this problem. Today I will share with you about it, it is based on the Click event of the GridViewColumnHeader class.

Read more

Apply DataTemplate to DataGridColumn with given condition

Suppose we have a DataGrid that displays data about student score information and for each different score we will need to display the corresponding rating column. In this case we need to create many different templates for the review and display it with the corresponding condition.

Read more

Limit text length to n lines using css

Limit text length to n lines using css

Read more

Remove all html comment using javascript

Remove all html comment using javascript

Read more

WPF - Setting global format datetime

Hello everyone, today I will show you how to set datetime format in wpf application. To set the common format for the whole app, we find the Application_Startup function in the App.xaml.cs file. Below is the code that I will introduce today

Read more


Links Dammio (opens new window) Xuan Luan Dev (opens new window)