public TextAlignmentValueEditor()
 {
     this.textAlignmentEditor = new TextAlignmentEditor();
     this.Content             = (object)this.textAlignmentEditor;
     this.DataContextChanged += new DependencyPropertyChangedEventHandler(this.FontFamilyValueEditor_DataContextChanged);
     this.Loaded += new RoutedEventHandler(this.FontFamilyValueEditor_Loaded);
 }
示例#2
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Root = (TextAlignmentEditor)target;
                break;

            case 2:
                this.TextAlignmentChoiceEditor = (ChoiceEditor)target;
                break;

            default:
                this._contentLoaded = true;
                break;
            }
        }