public BrowserElementWithEvent(BrowserElementType type, string remoteEvent) : base(type) { this.RemoteEvent = remoteEvent; this.Enabled = true; this.ReturnObjects = new List <BrowserRemoteReturnObject>(); }
public BrowserRemoteReturnObject(Guid id, string hiddenValue, BrowserElementType elementType, ReturnType returnType) { this.Id = id; this.ReturnTypeOfRemoteEvent = returnType; this.ElementType = elementType; this.HiddenValue = hiddenValue; }
protected BrowserElement(BrowserElementType type) { this.Id = Guid.NewGuid(); this.Type = type; LoadingIndicator = false; this.StyleClass = ""; this.AnimationType = BrowserElementAnimationType.None; this.ItemAlignment = BrowserContentAlign.Center; this.ScrollBarX = false; this.ScrollBarY = false; this.BorderWidth = "0"; this.Row = 1; this.BorderStyle = BorderStyle.none; }
public BrowserTextBox(string placeHolder, string text, string labelText, bool readOnly, BrowserElementType elementType = BrowserElementType.TextBox) : base(elementType) { this.PlaceHolder = placeHolder; this.Label = new BrowserText(labelText, BrowserTextAlign.center); this.Text = text; this.ReadOnly = readOnly; this.Bold = false; this.MaxLength = 50; //this.Width = "120px"; //this.Height = "30px"; this.Cursor = "pointer"; this.TextAlign = BrowserTextAlign.center; this.ReadOnly = readOnly; this.Width = "150px"; this.Height = "25px"; this.FontColor = "black"; this.FontFamily = "Verdana"; this.Bold = false; this.FontSize = "12px"; this.Margin = "0 0 0 0"; this.Padding = "0 0 0 0"; }