Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public void Invalidate() |
Visual Basic |
---|
Public Sub Invalidate |
Visual C++ |
---|
public:
void Invalidate() |
F# |
---|
member Invalidate : unit -> unit
|
Examples
| Copy |
---|
public void InvalidateUiElements(Grid grid)
{
Header header1 = new Header();
header1.Add(new Column("Name"));
header1.Add(new Column("Price"));
header1.Add(new Column("Quantity"));
grid.Headers.Add(header1);
Header header2 = new Header();
header2.Add(new Column("Name"));
header2.Add(new Column("Date"));
grid.Headers.Add(header2);
Row product1 = grid.Rows.Add(new Product());
Row product2 = grid.Rows.Add(new Product());
Row customer1 = product1.Add(new Customer());
Row customer2 = product1.Add(new Customer());
Row customer3 = product2.Add(new Customer());
grid.Rows.ExpandAll();
customer1["Date"].Invalidate();
customer1.Invalidate();
header1.Invalidate();
header1.InvalidateRows();
header2["Date"].Invalidate();
header2["Date"].InvalidateCells();
} |
See Also