Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var propinf = typeof (BarItemLink).GetProperty("LinkViewInfo",
- BindingFlags.NonPublic | BindingFlags.Instance);
- var val = propinf.GetValue(barButtonItem6.Links[0], new object[] { }) as BarButtonLinkViewInfo;
- if (val.BarControl is QuickCustomizationBarControl) {
- MessageBox.Show("Hidden");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement