Skip to main content
.NET Framework 4.6.2+

CaptionHelper Methods

Exposes static methods used to localize display captions in an XAF application.
Name Description
ConvertCompoundName(String, CompoundNameConvertStyle) static Converts a compound name according to the specified CompoundNameConvertStyle mode.
ConvertCompoundName(String) static Converts a compound name so that the words forming the name are separated by white spaces.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindGroupNode(IModelApplication, String) static Provides access to the LocalizationGroup node corresponding to a specific group path.
FindGroupNode(String) static Provides access to the LocalizationGroup node corresponding to a specific group path.
GetActionCaption(String) static Returns the display caption corresponding to an Action.
GetAspectByCultureInfo(CultureInfo) static Returns the language identifier for a specific culture.
GetBoolText(Boolean) static Returns the default display caption corresponding to a Boolean value.
GetClassCaption(String) static Returns the display caption corresponding to a business class.
GetCultureInfoByAspect(String) static Returns the culture which corresponds to a specific language identifier.
GetDisplayText(Object) static Returns the value of the specified object’s default member.
GetFullMemberCaption(ITypeInfo, String) static This method is intended for internal use.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLastMemberPartCaption(Type, String) static This method is intended for internal use.
GetLocalizedItems(String) static Returns the names and values of all the localization items for a particular LocalizationGroup.
GetLocalizedText(String, String, Object[]) static Returns the value of a specified LocalizationItem.
GetLocalizedText(String, String, String) static Returns the value of a specified LocalizationItem.
GetLocalizedText(String, String) static Returns the value of a specified LocalizationItem.
GetMemberCaption(IMemberInfo) static Returns the display caption corresponding to a business class‘ property.
GetMemberCaption(ITypeInfo, String) static Returns the display caption corresponding to a business class‘ property.
GetMemberCaption(Type, String) static Returns the display caption corresponding to a business class‘ property.
GetModelLocalizationGroup(String) static Gets a node that contains a group of localizable items by its path.
GetParentAspect(String) static Returns the neutral culture for a given specific culture.
GetService(IServiceProvider) static
GetType() Gets the Type of the current instance. Inherited from Object.
IsAncestorAspect(String, String) static This method is intended for internal use.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveModelApplicationIfNeed(IModelApplication) static This method is intended for internal use.
SetLocalizedText(IModelLocalizationGroup, IList<String>, IList<String>) static Performs a batch update of the IModelLocalizationItem.Value property values for the LocalizationItem child nodes of a particular LocalizationGroup node.
SetLocalizedText(String, IDictionary<String, String>) static This SetLocalizedText method overload is intended for internal use.
SetLocalizedText(String, IList<String>, IList<String>) static This SetLocalizedText method overload is intended for internal use.
SetLocalizedText(String, String, String) static This SetLocalizedText method overload is intended for internal use.
Setup(IModelApplication) static Initializes the CaptionHelper.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also