Class UrlSegmentEventArgs
Used in events Creating and Created. Usage is to let eventhandlers control the creation of UrlSegment for a page.
Inheritance
System.Object
UrlSegmentEventArgs
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class UrlSegmentEventArgs : EventArgs
Constructors
UrlSegmentEventArgs()
Declaration
public UrlSegmentEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the creation of url segment should be cancelled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This property only has meaning in event Creating
Content
Gets or sets the content whos url/routing segment is to be set.
Declaration
public IContent Content { get; set; }
Property Value
Type | Description |
---|---|
IContent | The content. |
IsModified
Gets or sets a value indicating whether this instance is modified.
Declaration
public bool IsModified { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
RoutingSegment
Gets the routing segment implmentation from Content if implemented.
Declaration
public IRoutable RoutingSegment { get; }
Property Value
Type | Description |
---|---|
IRoutable | The routing segment. |