Ejemplo n.º 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();
 }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 5
0
        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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
 }