Can't seem to find the way to set CommandButtonsVisibility from code behind. I'm building a user control with dynamic behavior the DataForm.
In XAML it's easy and working.
Anybody that has an idea?
Thanks in advance!
dataForm.CommandButtonsVisibility = DataFormCommandButtonsVisibility.Add | DataFormCommandButtonsVisibility.Delete;
dataForm.CommandButtonsVisibility |= DataFormCommandButtonsVisibility.Edit;