示例#1
0
 private static WpfKnownMember Create_BamlProperty_ClassicBorderDecorator_BorderStyle()
 {
     Type type = typeof(Microsoft.Windows.Themes.ClassicBorderDecorator);
     DependencyProperty  dp = Microsoft.Windows.Themes.ClassicBorderDecorator.BorderStyleProperty;
     var bamlMember = new WpfKnownMember( System.Windows.Markup.XamlReader.BamlSharedSchemaContext,  // Schema Context
                     System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(Microsoft.Windows.Themes.ClassicBorderDecorator)), // DeclaringType
                     "BorderStyle", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(Microsoft.Windows.Themes.ClassicBorderStyle);
     bamlMember.Freeze();
     return bamlMember;
 }
示例#2
0
 private static WpfKnownMember Create_BamlProperty_ScrollChrome_ScrollGlyph()
 {
     Type type = typeof(Microsoft.Windows.Themes.ScrollChrome);
     DependencyProperty dp = Microsoft.Windows.Themes.ScrollChrome.ScrollGlyphProperty;
     var bamlMember = new WpfKnownMember(System.Windows.Markup.XamlReader.BamlSharedSchemaContext,  // Schema Context
                     System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(Microsoft.Windows.Themes.ScrollChrome)), // DeclaringType
                     "ScrollGlyph", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     true // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(Microsoft.Windows.Themes.ScrollGlyph);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Storyboard_TargetProperty()
 {
     Type type = typeof(System.Windows.Media.Animation.Storyboard);
     DependencyProperty  dp = System.Windows.Media.Animation.Storyboard.TargetPropertyProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Media.Animation.Storyboard)), // DeclaringType
                     "TargetProperty", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     true // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.PropertyPathConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Binding_ConverterParameter()
 {
     Type type = typeof(System.Windows.Data.Binding);
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Data.Binding)), // DeclaringType
                     "ConverterParameter", // Name
                     typeof(System.Object), // type
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.HasSpecialTypeConverter = true;
     bamlMember.TypeConverterType = typeof(System.Object);
     bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).ConverterParameter = (System.Object)value; };
     bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Data.Binding)target).ConverterParameter; };
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_MultiDataTrigger_Conditions()
 {
     Type type = typeof(System.Windows.MultiDataTrigger);
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.MultiDataTrigger)), // DeclaringType
                     "Conditions", // Name
                     typeof(System.Windows.ConditionCollection), // type
                     true, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.MultiDataTrigger)target).Conditions; };
     bamlMember.IsWritePrivate = true;
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_TextBoxBase_HorizontalScrollBarVisibility()
 {
     Type type = typeof(System.Windows.Controls.Primitives.TextBoxBase);
     DependencyProperty  dp = System.Windows.Controls.Primitives.TextBoxBase.HorizontalScrollBarVisibilityProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Primitives.TextBoxBase)), // DeclaringType
                     "HorizontalScrollBarVisibility", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Controls.ScrollBarVisibility);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Window_AllowsTransparency()
 {
     Type type = typeof(System.Windows.Window);
     DependencyProperty  dp = System.Windows.Window.AllowsTransparencyProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Window)), // DeclaringType
                     "AllowsTransparency", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.BooleanConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Panel_IsItemsHost()
 {
     Type type = typeof(System.Windows.Controls.Panel);
     DependencyProperty  dp = System.Windows.Controls.Panel.IsItemsHostProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType
                     "IsItemsHost", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.BooleanConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_UIElement_RenderTransformOrigin()
 {
     Type type = typeof(System.Windows.UIElement);
     DependencyProperty  dp = System.Windows.UIElement.RenderTransformOriginProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
                     "RenderTransformOrigin", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.PointConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Block_TextAlignment()
 {
     Type type = typeof(System.Windows.Documents.Block);
     DependencyProperty  dp = System.Windows.Documents.Block.TextAlignmentProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Documents.Block)), // DeclaringType
                     "TextAlignment", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.TextAlignment);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_ButtonBase_ClickMode()
 {
     Type type = typeof(System.Windows.Controls.Primitives.ButtonBase);
     DependencyProperty  dp = System.Windows.Controls.Primitives.ButtonBase.ClickModeProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Primitives.ButtonBase)), // DeclaringType
                     "ClickMode", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Controls.ClickMode);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_ToolTipService_ToolTip()
 {
     Type type = typeof(System.Windows.Controls.ToolTipService);
     DependencyProperty  dp = System.Windows.Controls.ToolTipService.ToolTipProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.ToolTipService)), // DeclaringType
                     "ToolTip", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     true // IsAttachable
                              );
     bamlMember.HasSpecialTypeConverter = true;
     bamlMember.TypeConverterType = typeof(System.Object);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_DefinitionBase_SharedSizeGroup()
 {
     Type type = typeof(System.Windows.Controls.DefinitionBase);
     DependencyProperty  dp = System.Windows.Controls.DefinitionBase.SharedSizeGroupProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.DefinitionBase)), // DeclaringType
                     "SharedSizeGroup", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.StringConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Trigger_Property()
 {
     Type type = typeof(System.Windows.Trigger);
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Trigger)), // DeclaringType
                     "Property", // Name
                     typeof(System.Windows.DependencyProperty), // type
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Markup.DependencyPropertyConverter);
     bamlMember.Ambient = true;
     bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Trigger)target).Property = (System.Windows.DependencyProperty)value; };
     bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Trigger)target).Property; };
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_KeyboardNavigation_TabNavigation()
 {
     Type type = typeof(System.Windows.Input.KeyboardNavigation);
     DependencyProperty  dp = System.Windows.Input.KeyboardNavigation.TabNavigationProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Input.KeyboardNavigation)), // DeclaringType
                     "TabNavigation", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     true // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Shape_StrokeMiterLimit()
 {
     Type type = typeof(System.Windows.Shapes.Shape);
     DependencyProperty  dp = System.Windows.Shapes.Shape.StrokeMiterLimitProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Shapes.Shape)), // DeclaringType
                     "StrokeMiterLimit", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.DoubleConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Pen_LineJoin()
 {
     Type type = typeof(System.Windows.Media.Pen);
     DependencyProperty  dp = System.Windows.Media.Pen.LineJoinProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Media.Pen)), // DeclaringType
                     "LineJoin", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Media.PenLineJoin);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Binding_XPath()
 {
     Type type = typeof(System.Windows.Data.Binding);
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Data.Binding)), // DeclaringType
                     "XPath", // Name
                     typeof(System.String), // type
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.StringConverter);
     bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).XPath = (System.String)value; };
     bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Data.Binding)target).XPath; };
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_BulletDecorator_Bullet()
 {
     Type type = typeof(System.Windows.Controls.Primitives.BulletDecorator);
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Primitives.BulletDecorator)), // DeclaringType
                     "Bullet", // Name
                     typeof(System.Windows.UIElement), // type
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Primitives.BulletDecorator)target).Bullet = (System.Windows.UIElement)value; };
     bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.BulletDecorator)target).Bullet; };
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_ToolBar_Orientation()
 {
     Type type = typeof(System.Windows.Controls.ToolBar);
     DependencyProperty  dp = System.Windows.Controls.ToolBar.OrientationProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.ToolBar)), // DeclaringType
                     "Orientation", // Name
                      dp, // DependencyProperty
                     true, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation);
     bamlMember.IsWritePrivate = true;
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_UIElement_SnapsToDevicePixels()
 {
     Type type = typeof(System.Windows.UIElement);
     DependencyProperty  dp = System.Windows.UIElement.SnapsToDevicePixelsProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
                     "SnapsToDevicePixels", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.BooleanConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_FrameworkElement_Triggers()
 {
     Type type = typeof(System.Windows.FrameworkElement);
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.FrameworkElement)), // DeclaringType
                     "Triggers", // Name
                     typeof(System.Windows.TriggerCollection), // type
                     true, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkElement)target).Triggers; };
     bamlMember.IsWritePrivate = true;
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_SolidColorBrush_Color()
 {
     Type type = typeof(System.Windows.Media.SolidColorBrush);
     DependencyProperty  dp = System.Windows.Media.SolidColorBrush.ColorProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Media.SolidColorBrush)), // DeclaringType
                     "Color", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Media.ColorConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_KeyBinding_Key()
 {
     Type type = typeof(System.Windows.Input.KeyBinding);
     DependencyProperty  dp = System.Windows.Input.KeyBinding.KeyProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Input.KeyBinding)), // DeclaringType
                     "Key", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Input.KeyConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Brush_Opacity()
 {
     Type type = typeof(System.Windows.Media.Brush);
     DependencyProperty  dp = System.Windows.Media.Brush.OpacityProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Media.Brush)), // DeclaringType
                     "Opacity", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.DoubleConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Canvas_Right()
 {
     Type type = typeof(System.Windows.Controls.Canvas);
     DependencyProperty  dp = System.Windows.Controls.Canvas.RightProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Canvas)), // DeclaringType
                     "Right", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     true // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.LengthConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_TextBoxBase_AcceptsTab()
 {
     Type type = typeof(System.Windows.Controls.Primitives.TextBoxBase);
     DependencyProperty  dp = System.Windows.Controls.Primitives.TextBoxBase.AcceptsTabProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Primitives.TextBoxBase)), // DeclaringType
                     "AcceptsTab", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.BooleanConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
示例#28
0
 public WpfKnownMemberInvoker(WpfKnownMember member) : base(member)
 { 
     _member = member; 
 }
 private WpfKnownMember Create_BamlProperty_Frame_NavigationUIVisibility()
 {
     Type type = typeof(System.Windows.Controls.Frame);
     DependencyProperty  dp = System.Windows.Controls.Frame.NavigationUIVisibilityProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Frame)), // DeclaringType
                     "NavigationUIVisibility", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     false // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.Windows.Navigation.NavigationUIVisibility);
     bamlMember.Freeze();
     return bamlMember;
 }
 private WpfKnownMember Create_BamlProperty_Selector_IsSelected()
 {
     Type type = typeof(System.Windows.Controls.Primitives.Selector);
     DependencyProperty  dp = System.Windows.Controls.Primitives.Selector.IsSelectedProperty;
     var bamlMember = new WpfKnownMember( this,  // Schema Context
                     this.GetXamlType(typeof(System.Windows.Controls.Primitives.Selector)), // DeclaringType
                     "IsSelected", // Name
                      dp, // DependencyProperty
                     false, // IsReadOnly
                     true // IsAttachable
                              );
     bamlMember.TypeConverterType = typeof(System.ComponentModel.BooleanConverter);
     bamlMember.Freeze();
     return bamlMember;
 }
 // Token: 0x0600156F RID: 5487 RVA: 0x000698FD File Offset: 0x00067AFD
 public WpfKnownMemberInvoker(WpfKnownMember member) : base(member)
 {
     this._member = member;
 }