Advertisement
Guest User

Untitled

a guest
May 28th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. var propinf = typeof (BarItemLink).GetProperty("LinkViewInfo",
  2. BindingFlags.NonPublic | BindingFlags.Instance);
  3. var val = propinf.GetValue(barButtonItem6.Links[0], new object[] { }) as BarButtonLinkViewInfo;
  4. if (val.BarControl is QuickCustomizationBarControl) {
  5. MessageBox.Show("Hidden");
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement