Example #1
0
 public Button(ViewContext view)
 {
     this.ViewContext = view;
     this.Component   = new ButtonComponent();
     this.Component.HtmlProperties       = new HtmlProperties(view, this.Component.GetType());
     this.Component.Behaviour            = HtmlBehaviourType.Submit;
     this.Component.Action               = "#EmptyValue";
     this.Component.HtmlProperties.Value = "#EmptyValue";
     this.Component.Size  = ButtonSize.normal;
     this.Component.Type  = ButtonType.Default;
     this.Component.State = ButtonState.Enabled;
     this.Component.Skin  = new ButtonSkin();
 }
Example #2
0
 public Button(ViewContext view, ButtonComponent button)
 {
     this.ViewContext = view;
     this.Component = button;
 }
Example #3
0
 public Button(ViewContext view, ButtonComponent button)
 {
     this.ViewContext = view;
     this.Component   = button;
 }