Using a DataGrid with AutoGenerate columns is there an attribute I can put on a property to hide it so it isn't displayed?
I want to hide the IsValid properties, and stuff like that from the BusinessBase class.
Thanks. I tried this and it wasn't hidden in the DataGrid.
[Browsable(
true)]This atribute is for the UI Design Mode as far as I have seen.
Seems it actually does work. Might help if I set the flag to false.
Here is what I ended up doing.
[Browsable(
false)] public override bool IsValid{
return base.IsValid;}
}
[Browsable(
false)] public override bool IsNew{
get{
return base.IsNew;}
}
[Browsable(
false)] public override bool IsDeleted{
get{
return base.IsDeleted;}
}
[Browsable(
false)] public override bool IsChild{
get{
return base.IsChild;}
}
[Browsable(
false)] public override bool IsSavable{
get{
return base.IsSavable;}
}
Copyright (c) Marimer LLC