Beispiel #1
0
 public static DecoratorDrawer CreateDecoratorDrawer(NativeDrawerProperty drawerProperty, DecoratorAttribute attr)
 {
     if (attrDrawerDic.TryGetValue(attr.GetType(), out Type drawerType))
     {
         return((DecoratorDrawer)Activator.CreateInstance(drawerType, drawerProperty, attr));
     }
     return(null);
 }
 public SpaceLineDrawer(NativeDrawerProperty property, DecoratorAttribute attr) : base(property, attr)
 {
 }
 protected DecoratorDrawer(NativeDrawerProperty property, DecoratorAttribute attr) : base(attr)
 {
     DrawerProperty = property;
 }
Beispiel #4
0
 public HelpDrawer(NativeDrawerProperty property, DecoratorAttribute attr) : base(property, attr)
 {
 }
 public BoxedHeaderDrawer(NativeDrawerProperty property, DecoratorAttribute attr) : base(property, attr)
 {
 }