This is a C# Windows Presentation Foundation ListBox Tutorial and Example. Normally a ListBox is a component that allows us render lists of items.
ListBoxes are usually single column and are meant to be used for simple items. For more complex lists you can use a ListView.
In this tutorial we want to see how to download JSON data from online, then parse that data using Google GSON and then bind the data to a custom GridView. The data will comprise images and text and we render them in custom cardviews. We use Retrofit, a modern and fast http client for android.
In this tutorial, we want to see how to programmatically create an XML file programmatically. The magic ball we use is the
XmlTextWriter, a class defined in the
We see how to search/filter a listview in flutter using a searchview. That so called searchview is actually a custom textfield. We will use a TextEditingController to notify us of text changeson our textfield. Thus this allows us easily search our data.
Here we want to see how to you draw a string on an image. We will make use of the Graphics class to do this. But first we will load our image from the file system via the
Image class. That class provides with the
FromFile() method which allows us easily load our image onto memory from the filesystem.
Then we draw that image using the Graphics class. We also draw a frame around the image and fill the rectangle with some color.
How to populate a Datagridview with checkboxes with data from a dictionary. We also mark those checkboxes as readonly meaning the user cannot modify them at runtime.
In this tutorial we want to explore the JavaFX ComboBox. How to populate it with data then handle the selected item change events thus showing the selected item in an alert dialog.
In this VB.NET piece we want to look at Graphics class and how to use it to achieve some common things we wouldn't normally achieve with simple windows forms alone. For example we want to see how we can load an image and draw some string into it. Something like this normally you do with a powerful image editor. However we want to see how to do this programmatically.
In this tutorial we explore how we can pick numbers, both decimals and integers using an awesome library called numberpicker. We have several ways of doing this. First we can use numberpicker just within our page directly. The user can scroll through the numbers and pick. As the user scrolls through, the current scroll value is automatically set to a button.
Then the second way is to use a number picker dialog. We have two types of dialogs: integer number picker dialog and decimal number picker dialog. In the integer picker dialog a user can select whole numbers only. In the decimal picker dialog a user can select decimal numbers.
This is a VB.NET tutorial. We see how to populate a datagridviewview with dictionary containing strings and boolean values. The thing is that our boolean values should not be editable at runtime. Instead when the user clicks any cell in the datagridview, he should get the value shown in messagebox and not be able to edit it.