Example #1
0
    protected override void OnInitialize()
    {
        base.OnInitialize();

        //LayoutDescriptor = LayoutDescriptor.Absolute;
        Layout = new AbsoluteLayout();
    }
    protected override void OnInitialize()
    {
        base.OnInitialize();

        // not really needed (this is the default layout)
        Layout = new AbsoluteLayout();
    }
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = StageManager.GLOBAL_LOADING_MASK_STAGE_DEPTH;
            Id = "GlobalLoadingMaskStage";
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            Enabled = true;

            Plugins.Add(new LoadingMaskPlugin());

            Register();
        }
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = StageManager.GUI_INSPECTOR_STAGE_DEPTH;
            Id = "InspectorOverlayStage";
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            Enabled = true;

            Register();

            CoordinateProcessor.ExcludeStage(this); // NONO: it should be mouse-sensitive because of the toolbar!
        }
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = OPTIONS_TOOLBAR_STAGE_DEPTH;
            Id = "OptionsToolbarStage";
            //LayoutDescriptor = LayoutDescriptor.Absolute;
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            //ClipContent = false;
            Enabled = true;

            Register();
        }
Example #6
0
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = StageManager.POPUP_MANAGER_STAGE_DEPTH;
            Id = "PopupManagerStage";
            //LayoutDescriptor = LayoutDescriptor.Absolute;
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            MouseEnabled = false; // for wmouse wheeling the background
            //ScrollContent = false;
            Enabled = true;

            //StageManager.Instance.RegisterStage(this);
            Register();
        }
Example #7
0
    protected override void OnInitialize()
    {
        base.OnInitialize();

        //Layout = new VerticalLayout
        //{
        //    HorizontalAlign = HorizontalAlign.Center,
        //    VerticalAlign = VerticalAlign.Middle,
        //    PaddingLeft = 10, PaddingRight = 10,PaddingTop = 10, PaddingBottom = 10,
        //    Gap = 10
        //};

        Layout = new AbsoluteLayout();
    }
Example #8
0
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = StageManager.DRAG_DROP_STAGE_DEPTH;
            Id = "DragDropStage";
            //LayoutDescriptor = LayoutDescriptor.Absolute;
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            //SupressEventPropagation = false;
            //ScrollContent = false;
            Enabled = true;
            //Skin = CoreSkinMapper.Instance.System;

            //StageManager.Instance.RegisterStage(this);
            Register();
        }
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = StageManager.TOOLTIP_STAGE_DEPTH;
            Id = "TooltipManagerStage";
            //LayoutDescriptor = LayoutDescriptor.Absolute;
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            //ScrollContent = false;
            Enabled = true;

            //StageManager.Instance.RegisterStage(this);
            Register();

            CoordinateProcessor.ExcludeStage(this);
        }
Example #10
0
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = StageManager.CURSOR_STAGE_DEPTH;
            Id = "CursorManagerStage";
            //LayoutDescriptor = LayoutDescriptor.Absolute;
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            //ScrollContent = false;
            Enabled = true;
            Visible = false;

            //StageManager.Instance.RegisterStage(this);
            Register();

            CoordinateProcessor.ExcludeStage(this);

            /* Important: in some circumstances we have to get the stage size right
             * (for instance the popup manager creares the stage just before the first popup is created
             * and the stage has to be sized right for centering popup */
            ValidateNow(); // TODO: not needed for this stage for size is irrelevant?
        }
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Init()
        {
            ZIndex = STYLING_OVERLAY_STAGE_DEPTH;
            Id = "StylingOverlayStage";
            Layout = new AbsoluteLayout();
            FocusEnabled = false;
            Enabled = true;

            Register();

            CoordinateProcessor.ExcludeStage(this);
        }
Example #12
0
        protected override void CreateChildren()
        {
            base.CreateChildren();

            if (null == _layout)
                Layout = new AbsoluteLayout(); // Important: via setter
        }