Exemplo n.º 1
0
		/// <summary>
		/// Sets the AutoSizeTextField to be added to the ShapeFieldCollection, is only run once
		/// </summary>
		/// <param name="fieldName">Non-localized name for the field</param>
		protected override AutoSizeTextField CreateAutoSizeTextField(string fieldName)
		{
			AutoSizeTextField newTextField = new RoleNameAutoSizeTextField(fieldName);
			newTextField.DefaultFocusable = true;
			newTextField.DefaultTextBrushId = RoleNameTextBrush;
			return newTextField;
		}
Exemplo n.º 2
0
        /// <summary>
        /// Sets the AutoSizeTextField to be added to the ShapeFieldCollection, is only run once
        /// </summary>
        /// <param name="fieldName">Non-localized name for the field</param>
        protected override AutoSizeTextField CreateAutoSizeTextField(string fieldName)
        {
            AutoSizeTextField newTextField = new RoleNameAutoSizeTextField(fieldName);

            newTextField.DefaultFocusable   = true;
            newTextField.DefaultTextBrushId = RoleNameTextBrush;
            return(newTextField);
        }