示例#1
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            this.part_ScrollViewer           = (ScrollViewer)this.GetTemplateChild("PART_SrollViewer");
            this.part_PropertyDescriptionBox = this.GetTemplateChild("PART_PropertyDescriptionBox") as PropertyDescriptionBox;
            this.part_PropertyFilterBox      = this.GetTemplateChild("PART_PropertyFilterBox") as PropertyFilterBox;

            if (this.part_PropertyFilterBox != null)
            {
                this.part_PropertyFilterBox.TextChanged += FlterBoxTextChanged;
            }

            loaded = true;

            if (resetLoadedObject)
            {
                resetLoadedObject = false;
                this.ResetObject(this.SelectedObject);
            }
        }
示例#2
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

              this.part_ScrollViewer = (ScrollViewer)this.GetTemplateChild("PART_SrollViewer");
              this.part_PropertyDescriptionBox = this.GetTemplateChild("PART_PropertyDescriptionBox") as PropertyDescriptionBox;
              this.part_PropertyFilterBox = this.GetTemplateChild("PART_PropertyFilterBox") as PropertyFilterBox;

              if (this.part_PropertyFilterBox != null) this.part_PropertyFilterBox.TextChanged += FlterBoxTextChanged;

              loaded = true;

              if (resetLoadedObject)
              {
            resetLoadedObject = false;
            this.ResetObject(this.SelectedObject);
              }
        }