public static ContentPageNext GetContentPageNext(ContentPageNext.NavDirection direction) { return(new ContentPageNext { NavigationDirection = direction, ContentPage = CmsPage.ThePage }); }
public static ContentPageNext GetContentPageNext(ContentPageNext.NavDirection direction, ContentPageNext.CaptionSource caption) { return(new ContentPageNext { NavigationDirection = direction, CaptionDataField = caption, ContentPage = CmsPage.ThePage }); }