Version

Customizer Property

Returns the Infragistics.Shared.ResourceCustomizer for this assembly.
Syntax
'Declaration
 
Public Shared ReadOnly Property Customizer As Infragistics.Shared.ResourceCustomizer
public static Infragistics.Shared.ResourceCustomizer Customizer {get;}
Example

The following sample code illustrates how to use an assembly's resource customizer to customize the string resources that an assembly uses. for a listing of the resource names specific to the Infragistics.Win.UltraWinSchedule, Infragistics.Win, and Infragistics.Shared assemblies, see the following section in the Developer's Guide section of the help: The Toolset > Assemblies > Assembly Resource Strings.



Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim rc As Infragistics.Shared.ResourceCustomizer

    ' Note: Each Infragistics windows forms assembly 
    ' exposes a resource customizer so that any string
    ' resource that the assembly uses can be customized.
    ' This lets the application developer easily modify  
    ' any string that an Infragistics control would show
    ' to an end-user.

    ' Get the resource customizer object for the
    ' 'Infragistics.Win.UltraWinTree' assembly.
    rc = Infragistics.Win.UltraWinTree.Resources.Customizer

    ' Customize a couple of string resources.
    rc.SetCustomizedString("xxxxx", "New string for 'xxxxx' resource")
    rc.SetCustomizedString("yyyyy", "New string for 'yyyyy' resource")

    ' Get the resource customizer object for the  
    ' 'Infragistics.Win' assembly.
    rc = Infragistics.Win.Resources.Customizer

    ' Customize one of its string resources.
    rc.SetCustomizedString("zzzzz", "New string for 'zzzzz' resource")

    ' The 'GetCustomizedString' method can be used to
    ' retrieve any previously customized string resource.
    Dim customizedString As String
    customizedString = rc.GetCustomizedString("zzzzz")

    ' Note: In the above examples, the first parameter
    ' to the 'SetCustomizedString' method (i.e. "xxxxx",
    ' "yyyyy" or "zzzzz") specifies the name of the resource.
    '
    ' A list of the resource names is included in online help
    ' under Infragistics Software\[assembly name]\Support Topics\
    ' Message Strings Customization [name]
    '
    ' Also, the string resources can be reset back to there
    ' original values by calling one of the 'Reset...' methods
    ' as in the following sample code.

    ' Reset a previously customized string resource back to
    ' its original value.
    rc.ResetCustomizedString("xxxxx")

    ' Reset all previously customized string resources back to
    ' their original values.
    rc.ResetAllCustomizedStrings()

End Sub
private void Form1_Load(object sender, System.EventArgs e)
{
	Infragistics.Shared.ResourceCustomizer rc;

	// Note: Each Infragistics windows forms assembly 
	// exposes a resource customizer so that any string
	// resource that the assembly uses can be customized.
	// This lets the application developer easily modify  
	// any string that an Infragistics control would show
	// to an end-user.
	
	// Get the resource customizer object for the
	// 'Infragistics.Win.UltraWinTree' assembly.
	rc = Infragistics.Win.UltraWinTree.Resources.Customizer;

	// Customize a couple of string resources.
	rc.SetCustomizedString("xxxxx", "New string for 'xxxxx' resource");
	rc.SetCustomizedString("yyyyy", "New string for 'yyyyy' resource");

	// Get the resource customizer object for the 
	// 'Infragistics.Win' assembly.
	rc = Infragistics.Win.Resources.Customizer;

	// Customize one if its string resources.
	rc.SetCustomizedString("zzzzz", "New string for 'zzzzz' resource");

	// The 'GetCustomizedString' method can be used to
	// retrieve any previously customized string resource.
	string customizedString = rc.GetCustomizedString("zzzzz");

	// Note: In the above examples, the first parameter
	// to the 'SetCustomizedString' method (i.e. "xxxxx",
	// "yyyyy" or "zzzzz") specifies the name of the resource.
	// A list of the resource names is included in online help
	// under Infragistics Software\[assembly name]\Support Topics\
	// Message Strings Customization [name]
	//
	// Also, the string resources can be reset back to there
	// original values by calling one of the 'Reset...' methods
	// as in the following sample code.

	// Reset a previously customized string resource back to
	// its original value.
	rc.ResetCustomizedString("xxxxx");

	// Reset all previously customized string resources back to
	// their original values.
	rc.ResetAllCustomizedStrings();

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Resources Class
Resources Members
Infragistics.Shared.ResourceCustomizer