Class ContentLanguageEventArgs
EventArgs used with Content Language related events
Inherited Members
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ContentLanguageEventArgs : ContentEventArgs
Constructors
ContentLanguageEventArgs(IContent)
Initializes a new instance of the ContentLanguageEventArgs class.
Declaration
public ContentLanguageEventArgs(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The page. |
Properties
IsMasterLanguageBranch
Gets a value indicating whether this instance is master language branch.
Declaration
public bool IsMasterLanguageBranch { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Language
The current language for the content instance.
Declaration
public CultureInfo Language { get; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
Remarks
If the content does not implement ILocale (or ILocalizable) null is retuned.
MasterLanguage
The current master language for the content instance.
Declaration
public CultureInfo MasterLanguage { get; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
Remarks
If the content does not implement ILocale (or ILocalizable) null is retuned.