Пример #1
0
 /// <summary>
 /// Creates a browsing-context setup object.
 /// </summary>
 /// <param name="width">The width of the iframe.</param>
 /// <param name="height">The height of the iframe.</param>
 public BrowsingContextSetup(ContentBasedLength width = null, ContentBasedLength height = null)
 {
     Width  = width;
     Height = height;
 }
 /// <summary>
 /// Creates a navigational-form-control setup object.
 /// </summary>
 /// <param name="width">The width of the control. Do not pass null.</param>
 /// <param name="placeholder">The hint word or phrase that will appear when the control has an empty value. Do not pass null or the empty string.</param>
 /// <param name="autoCompleteResource">The resource containing the auto-complete items. Do not pass null.</param>
 public NavFormControlSetup(ContentBasedLength width, string placeholder, ResourceInfo autoCompleteResource = null)
 {
     Width                = width;
     Placeholder          = placeholder;
     AutoCompleteResource = autoCompleteResource;
 }