Beispiel #1
0
 public LayoutGrid(View parent, View layoutParent = null, string id = null, Template template = null, Action <View> initializer = null) :
     base(parent, layoutParent, id, template ?? LayoutGridTemplates.Default, initializer)
 {
     Cell     = new AttachedProperty <Delight.CellIndex>(this, "Cell");
     CellSpan = new AttachedProperty <Delight.CellIndex>(this, "CellSpan");
     this.AfterInitializeInternal();
 }
Beispiel #2
0
        public Group(View parent, View layoutParent = null, string id = null, Template template = null, bool deferInitialization = false) :
            base(parent, layoutParent, id, template ?? GroupTemplates.Default, deferInitialization)
        {
            if (deferInitialization)
            {
                return;
            }

            SortIndex = new AttachedProperty <System.Int32>(this, "SortIndex");
            this.AfterInitializeInternal();
        }
Beispiel #3
0
        public Navigator(View parent, View layoutParent = null, string id = null, Template template = null, bool deferInitialization = false) :
            base(parent, layoutParent, id, template ?? NavigatorTemplates.Default, deferInitialization)
        {
            if (deferInitialization)
            {
                return;
            }

            Path = new AttachedProperty <System.String>(this, "Path");
            this.AfterInitializeInternal();
        }
Beispiel #4
0
        public LayoutGrid(View parent, View layoutParent = null, string id = null, Template template = null, bool deferInitialization = false) :
            base(parent, layoutParent, id, template ?? LayoutGridTemplates.Default, deferInitialization)
        {
            if (deferInitialization)
            {
                return;
            }

            Cell     = new AttachedProperty <Delight.CellIndex>(this, "Cell");
            CellSpan = new AttachedProperty <Delight.CellIndex>(this, "CellSpan");
            this.AfterInitializeInternal();
        }
        public ExpanderHeader(View parent, View layoutParent = null, string id = null, Template template = null, bool deferInitialization = false) :
            base(parent, layoutParent, id, template ?? ExpanderHeaderTemplates.Default, deferInitialization)
        {
            if (deferInitialization)
            {
                return;
            }

            Click.RegisterHandler(this, "ExpanderHeaderClick");
            SetExpanderState = new AttachedProperty <System.Boolean>(this, "SetExpanderState");
            this.AfterInitializeInternal();
        }
Beispiel #6
0
        public ListItem(View parent, View layoutParent = null, string id = null, Template template = null, bool deferInitialization = false) :
            base(parent, layoutParent, id, template ?? ListItemTemplates.Default, deferInitialization)
        {
            if (deferInitialization)
            {
                return;
            }

            Click.RegisterHandler(this, "ListItemMouseClick");
            MouseEnter.RegisterHandler(this, "ListItemMouseEnter");
            MouseExit.RegisterHandler(this, "ListItemMouseExit");
            MouseDown.RegisterHandler(this, "ListItemMouseDown");
            MouseUp.RegisterHandler(this, "ListItemMouseUp");
            SetListItemState = new AttachedProperty <System.Boolean>(this, "SetListItemState");
            this.AfterInitializeInternal();
        }
Beispiel #7
0
 public Group(View parent, View layoutParent = null, string id = null, Template template = null, Action <View> initializer = null) :
     base(parent, layoutParent, id, template ?? GroupTemplates.Default, initializer)
 {
     SortIndex = new AttachedProperty <System.Int32>(this, "SortIndex");
     this.AfterInitializeInternal();
 }