London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class SortComponentTransformer

Sorts all components according to their sort order.

Inheritance
System.Object
SortComponentTransformer
Inherited Members
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.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 10.10.4
Syntax
[ViewTransformer]
public class SortComponentTransformer : IViewTransformer, ISortable

Constructors

SortComponentTransformer()

Declaration
public SortComponentTransformer()

Properties

SortOrder

Used to select the order of execution when there are several IViewTransformers.

Declaration
public int SortOrder { get; }
Property Value
Type Description
System.Int32

Methods

TransformView(ICompositeView, IPrincipal)

Transforms the view according to the rules for the transformer.

Declaration
public void TransformView(ICompositeView view, IPrincipal principal)
Parameters
Type Name Description
ICompositeView view

The view.

System.Security.Principal.IPrincipal principal

The principal.

Implements

Extension Methods