Grid Row Visibility Change
2016-08-23
1 0 0
no vote
Other
Earn points
Translation maninwest@Codeforge Author k k Srinivasan@CodeProject Here's how to change the visibility of grid rows. Background in fact, there are many ways to change the visibility of grid rows. Here's my own way. Change Visibility Based on Boolean values. Before you start, take a look at the visible mode visible - the control is always in the layout and displayed to the user. Collapse – the control does not appear in the layout. Layout adjustment of other controls. Hide – the control is not displayed but remains in the layout. There was no adjustment. Use the code step 1: I only use the demo app I created to explain the code. Defines Boolean properties in a class. You can use dependency properties or the inotifypropertychanged interface to get notification of changes. Here, I define Boolean properties as dependency properties. public static readonly DependencyProperty SetVisibilityProperty = DependencyProperty.Register ("SetVisibi lity",typeof(bool),typeof(AddWindow));
c#
更改
网格
可见
Related Source Codes
No. 186: DX0110- Source code for community propert
0
0
no vote
No. 219: DX0149- Source code for community propert
0
0
no vote
Verification code identification
0
0
no vote
CSV data analysis tool
0
0
no vote
Source code of hospital medical record information
0
0
no vote
No comment