Beispiel #1
0
        public TabHeader(View parent, View layoutParent = null, string id = null, Template template = null, bool deferInitialization = false) :
            base(parent, layoutParent, id, template ?? TabHeaderTemplates.Default, deferInitialization)
        {
            if (deferInitialization)
            {
                return;
            }

            ToggleClick.RegisterHandler(this, "TabToggleClick");
            this.AfterInitializeInternal();
        }
Beispiel #2
0
 public TabHeader(View parent, View layoutParent = null, string id = null, Template template = null, Action <View> initializer = null) :
     base(parent, layoutParent, id, template ?? TabHeaderTemplates.Default, initializer)
 {
     ToggleClick.RegisterHandler(this, "TabToggleClick");
     this.AfterInitializeInternal();
 }