Hi
Example to turn on/off buttons of pin, close and system menu on toolbar too complex and cannot find properities in code behind to toggle their state
private void checkBox2_CheckedChanged(object sender, StateChangedEventArgs e)
{
options = options & (~AllowOptions.Pinning);
if (checkBox2.Checked) options |= AllowOptions.Pinning;
if (AllowOption != null) AllowOption(this, new AllowEventArgs(options));
}
Rgds
Stephen
Example to turn on/off buttons of pin, close and system menu on toolbar too complex and cannot find properities in code behind to toggle their state
private void checkBox2_CheckedChanged(object sender, StateChangedEventArgs e)
{
options = options & (~AllowOptions.Pinning);
if (checkBox2.Checked) options |= AllowOptions.Pinning;
if (AllowOption != null) AllowOption(this, new AllowEventArgs(options));
}
Rgds
Stephen