public ObjectSelectionViewModel()
        {
            this.allObjectsCategory = new ObjectPickerCategory(Resources.ObjectSelectionViewModel_AllObjects);
            this.Title = Resources.ObjectSelectionViewModel_Title;
            this.Description = Resources.ObjectSelectionViewModel_Description;
            this.Legend = Resources.ObjectSelectionViewModel_Legend;
            this.View = new ObjectSelectionPage(this);

            // Because the ObjectPicker is a scrollable control itself, the page's scroll bar functionality
            // needs to be disabled in order to force the control to be sized within the page and thus
            // show scroll bars.
            this.DisableScrollBars = true;
        }
Ejemplo n.º 2
0
        public ObjectSelectionViewModel()
        {
            this.allObjectsCategory = new ObjectPickerCategory(Resources.ObjectSelectionViewModel_AllObjects);
            this.Title       = Resources.ObjectSelectionViewModel_Title;
            this.Description = Resources.ObjectSelectionViewModel_Description;
            this.Legend      = Resources.ObjectSelectionViewModel_Legend;
            this.View        = new ObjectSelectionPage(this);

            // Because the ObjectPicker is a scrollable control itself, the page's scroll bar functionality
            // needs to be disabled in order to force the control to be sized within the page and thus
            // show scroll bars.
            this.DisableScrollBars = true;
        }