Exemple #1
0
 /// <summary>
 /// True for the editor to automatically adopt the size of the underlying field. Otherwise, an object can be passed to indicate where to get each dimension. The available properties are 'boundEl' and 'field'. If a dimension is not specified, it will use the underlying height/width specified on the editor object.
 /// </summary>
 public virtual Editor.Builder AutoSizeConfig(EditorAutoSize autoSizeConfig)
 {
     this.ToComponent().AutoSizeConfig = autoSizeConfig;
     return(this as Editor.Builder);
 }
Exemple #2
0
 /// <summary>
 /// Size for the editor to automatically adopt the size of the underlying field, Width to adopt the width only, or Height to adopt the height only (defaults to Disable)
 /// </summary>
 public virtual Editor.Builder AutoSize(EditorAutoSize autoSize)
 {
     this.ToComponent().AutoSize = autoSize;
     return(this as Editor.Builder);
 }