This project uses
C# 11
with thePolySharp
library. The minimum version is Windows 10,1903
(Build,18362).
This project can be used with C# 7.2, but we recommend that you use C# 11 in your project (.csproj) and use the
PolySharp
library.
Applies the Fluent design pattern
to WinUI controls
to create interfaces in a more expressive
and readable
way.
Uses method chaining
in the control class for cleaner, more readable code.
This project is available as a NuGet package. You can install it using the NuGet Package Console window:
NuGet\Install-Package AlexFalconFlores.UWP.Markup -Version 1.0.0
I highlight the
custom methods
that are notWinUI's own
, so that thedeveloper
can keep in mind that only WinUI's own methods will not be found. To know how to use them, I checked thedocumentation
.
- 📁 Helper
- 📁 IconElement
- 📁 Transition
- 📁 VirtualizingPanel
- BorderMarkup
- Padding (double padding)
- Padding (double left , double top , double right , double bottom)
- Padding (double horizontal , double vertical)
- CornerRadius (double cornerRadius)
- CornerRadius (double topLeftRight , double bottomRightLeft)
- CornerRadius (double topLeft, double topRight , double bottomRight , double bottomLeft)
- BorderThickness (double thickness)
- BorderThickness (double leftRight , double topBottom)
- BorderThickness (double left , double top, double right , double bottom)
- BorderBrush (Color colors)
- Background (Color colors)
- CaptureElementMarkup
- ColumnDefinitionMarkup
- ContentControlMarkup
- ContentDialogMarkup
- ContentPresenterMarkup
- Foreground (Color color)
- ContentAlignment (HorizontalAlignment horizontalAlignment , VerticalAlignment verticalAlignment)
- Padding (double padding)
- Padding (double left , double top , double right , double bottom)
- Padding (double horizontal , double vertical)
- CornerRadius (double cornerRadius)
- CornerRadius (double topLeftRight, double bottomRightLeft)
- CornerRadius (double topLeft , double topRight , double bottomRight , double bottomLeft)
- BorderThickness (double thickness)
- BorderThickness (double leftRight , double topBottom)
- BorderThickness (double left , double top , double right , double bottom)
- BorderBrush (Color colors)
- Background (Color colors)
- ControlMarkup
- Padding (double padding)
- Padding (double left , double top , double right , double bottom)
- Padding (double horizontal , double vertical)
- ContentAlignment (HorizontalAlignment horizontalAlignment , VerticalAlignment verticalAlignment)
- Foreground (Color color)
- BorderThickness (double thickness)
- BorderThickness (double leftRight , double topBottom)
- BorderThickness (double left , double top , double right , double bottom)
- BorderBrush (Color colors)
- Background (Color colors)
- DefaultStyleResourceUri (string resourceUri)
- CornerRadius (double cornerRadius)
- CornerRadius (double topLeftRight , double bottomRightLeft)
- CornerRadius (double topLeft , double topRight , double bottomRight , double bottomLeft)
- FlipViewMarkup
- FrameworkElementMarkup
- Alignment (VerticalAlignment verticalAlignment, HorizontalAlignment horizontalAlignment)
- Alignment ((VerticalAlignment vertical, HorizontalAlignment horizontal) alignment)
- Margin (double margin)
- Margin (double left , double top , double right , double bottom)
- Margin (double horizontal, double vertical)
- Row (int row)
- Column (int column)
- RowSpan (int rowSpan)
- ColumnSpan (int columnSpan)
- GridMarkup
- Padding (double padding)
- Padding (double left , double top, double right , double bottom)
- Padding (double horizontal , double vertical)
- CornerRadius (double cornerRadius)
- CornerRadius (double topLeftRight, double bottomRightLeft)
- CornerRadius (double topLeft, double topRight, double bottomRight, double bottomLeft)
- BorderThickness (double thickness)
- BorderThickness (double leftRight, double topBottom)
- BorderThickness (double left, double top, double right, double bottom)
- BorderBrush (Color colors)
- Spacing (double spacing)
- Spacing (double rowSpacing, double columnSpacing)
- RowDefinition (RowDefinition rowDefinition)
- ColumnDefinition (ColumnDefinition columnDefinition)
- RowDefinitions (params RowDefinition[] rowDefinitions)
- ColumnDefinitions (params ColumnDefinition[] columnDefinitions)
- Rows (params string[] rows)
- Columns (params string[] columns)
- InfoBarMarkup
- ItemsControlMarkup
- ItemsWrapGridMarkup
- PageMarkup
- PanelMarkup
- PopupMarkup
- RelativePanelMarkup
- Padding (double padding)
- Padding (double left , double top, double right , double bottom)
- Padding (double horizontal , double vertical)
- CornerRadius (double cornerRadius)
- CornerRadius (double topLeftRight, double bottomRightLeft)
- CornerRadius (double topLeft, double topRight, double bottomRight, double bottomLeft)
- BorderThickness (double thickness)
- BorderThickness (double leftRight, double topBottom)
- BorderThickness (double left, double top, double right, double bottom)
- BorderBrush (Color colors)
- RowDefinitionMarkup
- ScrollViewerMarkup
- SelectorMarkup
- StackPanelMarkup
- Padding (double padding)
- Padding (double left , double top, double right , double bottom)
- Padding (double horizontal , double vertical)
- CornerRadius (double cornerRadius)
- CornerRadius (double topLeftRight, double bottomRightLeft)
- CornerRadius (double topLeft, double topRight, double bottomRight, double bottomLeft)
- BorderThickness (double thickness)
- BorderThickness (double leftRight, double topBottom)
- BorderThickness (double left, double top, double right, double bottom)
- BorderBrush (Color colors)
- TextBlockMarkup
- TickBarMarkup
- ToolTipMarkup
- UIElementMarkup
- ToolTip (object toolTip)
- ToolTip (object toolTip, PlacementMode placementMode)
- ToolTip (object toolTip, PlacementMode placementMode, UIElement placementTarget)
- ToolTip (object toolTip, PlacementMode placementMode, UIElement placementTarget, Rect? placementRect)
- ToolTip (object toolTip, PlacementMode placementMode, UIElement placementTarget, Rect? placementRect, double horizontalOffset, double verticalOffset, bool isOpen)
- UserControlMarkup
- VariableSizedWrapGridMarkup
- ViewboxMarkup