-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathForm1.cs
More file actions
29 lines (27 loc) · 783 Bytes
/
Form1.cs
File metadata and controls
29 lines (27 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DXApplication3
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
UnboundRowsHelper helper = new UnboundRowsHelper(propertyGridControl1);
helper.AddUnboundRow("UnboundInt", typeof(int));
helper.AddUnboundRow("UnboundString", typeof(string));
helper.AddUnboundRow("UnboundDateTime", typeof(DateTime));
propertyGridControl1.RetrieveFields();
}
}
public class SourceObject : Component
{
public string TestProperty { get; set; }
}
}