void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 15 "..\..\..\PropertySheetTest.xaml" ((CODE.Framework.Wpf.Layout.PropertySheet)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PropertySheetMouseDown); #line default #line hidden return; case 2: this.PropertySheet = ((CODE.Framework.Wpf.Layout.PropertySheet)(target)); #line 47 "..\..\..\PropertySheetTest.xaml" this.PropertySheet.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PropertySheetMouseDown); #line default #line hidden return; } this._contentLoaded = true; }
/// <summary>Constructor</summary> /// <param name="adornedElement">Adorned element PropertySheet</param> /// <param name="vertical">The vertical scrollbar.</param> public PropertySheetScrollAdorner(PropertySheet adornedElement, ScrollBar vertical) : base(adornedElement) { _vertical = vertical; CheckControlForExistingParent(_vertical); AddVisualChild(_vertical); }