How do I select the Close Button if it doesn’t have a name or tag?
I can get it in a Case Else but would prefer to reference it specifically if I add further toolbar buttons
How do I select the Close Button if it doesn’t have a name or tag?
I can get it in a Case Else but would prefer to reference it specifically if I add further toolbar buttons
By Type
Or create it by code and assign it a tag.
Dim tb As MobileToolbarButton
tb = new MobileToolbarButton(MobileToolbarButton.Types.Close)
tb.Tag = "close"
self.RightNavigationToolbar.AddButton tb
I tried that but no success. Tried referencing “Close” and 24
select case button.Type
case ??
end select
Select case button.Type
Case MobileToolbarButton.Types.Close
//code here?
End Select
Thank you