public RadialMenuItem(CoreWindow wnd) { ItemsLayoutBox.AddItem(wnd, this, LayoutType.Floating); SetPassEvents(false); SetStyle(DefaultsService.GetDefaultStyle(typeof(RadialMenu.RadialMenuItem))); }
public MyToolTip(CoreWindow window, String text) { // MyToolTip attr SetVisible(false); SetBackground(35, 35, 35); IsFocusable = false; // Label attr _label = new Label(text, false); _label.SetMargin(10, 0, 10, 0); // add MyToolTip to ItemsLayoutBox: it is necessary for IFloating items ItemsLayoutBox.AddItem(window, this, LayoutType.Floating); }