C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
Info: The PropertyGrid looks the same as the property dialogs in Visual Studio.
Then: I used Visual Studio to change the color of the Button in the grid and also the Text.
Example that uses PropertyGrid: C#
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace WindowsFormsApplication15
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
// Create an example collection.
var dictionary = new Dictionary<string, string>();
dictionary.Add("cat", "blue");
dictionary.Add("dog", "green");
// Assign SelectedObject.
propertyGrid1.SelectedObject = dictionary;
}
}
}
Therefore: PropertyGrid is unsuitable for commonly-used interfaces or user-facing interfaces.
But: It could be useful for developing a settings window where advanced users can adjust certain settings in the program.
Note: It facilitates rapid application development at the cost of usability, making it a valuable addition to certain program contexts.
But: It is compatible with .NET programs and therefore useful when providing certain features such as options windows.