// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void InitalizeRecommendedValue()
{
// Create an instance of a GcTextBox control.
GcTextBox gcTextBox1 = new GcTextBox();
// Set the RecommendedValue property to a string value.
gcTextBox1.RecommendedValue = "RecommendedValue";
// Allow the RecommendedValue to show in the GcTextBox control.
gcTextBox1.ShowRecommendedValue = true;
}
' Please use the following namespace
' Imports System.Drawing
' Imports System.Windows.Forms
' Imports GrapeCity.Win.Editors
Public Sub InitalizeRecommendedValue()
' Create an instance of a GcTextBox control.
Dim gcTextBox1 As New GcTextBox()
' Set the RecommendedValue property to a string value.
gcTextBox1.RecommendedValue = "RecommendedValue"
' Allow the RecommendedValue to show in the GcTextBox control.
gcTextBox1.ShowRecommendedValue = True
End Sub