Class ContentLanguageEventArgs
EventArgs used with Content Language related events
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
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.