public static ButtonItem CreateReloadButton(double width, int numberToReload) { return(new ButtonItem(width, new Thickness(0.0, 0.0, 0.0, 40.0), CommentsItemsGeneratorHelper.GetTextFor(numberToReload))); }
public static VirtualizableItemBase CreateCommentsCountItem(double width, int commentsCount) { return(CommentsItemsGeneratorHelper.CreateCommentsCountItem(width, (Func <string>)(() => CommentsItemsGeneratorHelper.GetTextForCommentsCount(commentsCount)), 0.0, (SolidColorBrush)null)); }