Found 20 packages
Feature-rich implementation of a VirtualizingWrapPanel for WPF.
A control that can be used to present a collection of items in wrapped layout.
A WrapPanel that can be used in Universal apps.
Xamarin.Forms Custom Layouts(WrapLayout, RepeatableWrapLayout, RepeatableStackLayout, RepeatableFlexLayout)
This library provides controls for use in XAML which don't provide their own style. It is a part of the Windows Community Toolkit. Controls: - AdaptiveGridView: Presents items in an evenly-spaced set of columns to fill the total available space. - ConstrainedBox: Constrain child element by aspect ratio, scale, or multiple. - DockPanel: Define areas where you can arrange child elements either horizontally or vertically, relative to each other. - StaggeredLayout: Layout of items in a column approach where an item will be added to whichever column has used the least amount of space. - StaggeredPanel: Layout of items in a column approach where an item will be added to whichever column has used the least amount of space. - SwitchPresenter: A presenter which can act as a switch statement for layout providing alternate layouts based on a value. - UniformGrid: Presents items in an evenly-spaced set of rows or columns to fill the total available display space. - WrapLayout: Positions child elements in sequential position from left to right and breaks content to the next line. - WrapPanel: Positions child elements in sequential position from left to right and breaks content to the next line.
This library provides controls for use in XAML which don't provide their own style. It is a part of the Windows Community Toolkit. Controls: - AdaptiveGridView: Presents items in an evenly-spaced set of columns to fill the total available space. - DockPanel: Define areas where you can arrange child elements either horizontally or vertically, relative to each other. - StaggeredLayout: Layout of items in a column approach where an item will be added to whichever column has used the least amount of space. - StaggeredPanel: Layout of items in a column approach where an item will be added to whichever column has used the least amount of space. - SwitchPresenter: A presenter which can act as a switch statement for layout providing alternate layouts based on a value. - UniformGrid: Presents items in an evenly-spaced set of rows or columns to fill the total available display space. - WrapLayout: Positions child elements in sequential position from left to right and breaks content to the next line. - WrapPanel: Positions child elements in sequential position from left to right and breaks content to the next line.
Primitive layout controls such as SwitchPresenter, UniformGrid, WrapLayout, StaggeredPanel, WrapPanel, DockPanel, ConstrainedBox and more.
Toolkit for Windows phone 8.1 --------------------------------- - Flipview with incremental loading, - Collection for lazy loading, - Flipview indocatior, - Slideshow integration in flipview, - HTML Textblock (HTML VIEWER), - Rating control from Windows phone toolkit, - WrapPanel from Windows phone toolikt
WPF custom layout panel
Avalonia WrapPanel with fixed number of items per line
NET MAUI Custom Layouts(WrapLayout,FitLayout)
This library contains a collection of custom UWP XAML controls that can be used in a variety of UWP applications built by the community.
Package Description
Enhanced controls for Wpf. The Border has BoxShadow like as Web css3. Some controls that can adjust the spacing such as WrapPanel and StackPanel.
WPFSpark is a library of rich user controls which can be used to enrich your application's UI. The library contains the following controls - SprocketControl, ToggleSwitch, FluidWrapPanel, SparkWindow, FluidPivotPanel, FluidProgressBar and FluidStatusBar.
A WPF panel that will automatically wrap and align child controls. Similar to a WrapPanel, but aligns the controls in columns and rows.
Windows Phone Toolkit customized by Kinnara. Includes fixes, improvements, and more controls. This package also includes localized resources, XML documentation, and 76x76 ApplicationBar icons. Highlights: ApplicationBarSubmenu Submenu for an application bar item. FlipView Lets people flip through items one at a time. Similar to the WinRT FlipView. ImageButton + ToggleImageButton Button/ToggleButton control which has an image as its content. Label Enhanced text control that supports MaxLines and TextLineBounds. A rich set of standard styles are provided. ListView Long list selector with incremental loading and more. PhonePasswordBox An extended password box which implements header, placeholder text, and a show password check box. PhoneSlider An extended Slider which implements tick marks and snap points. PropertyUI Interactive property presenter with copy context menu. RadioButtonGroup More easily implement a group of radio buttons. StartView Panoramic view similar to the start screen. VariableSizedWrapGrid Provides a grid-style layout panel where each tile/cell can be variable size based on content. Similar to the WinRT VariableSizedWrapGrid. WaitCursor The wait cursor is a blocking visual animation typically reserved for cases where the application cannot continue until an event is satisfied.
Xaml: <Window.Resources> <CollectionViewSource x:Key="eventsViewSource" Source="{Binding Events}"/> </Window.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> <ColumnDefinition/> </Grid.ColumnDefinitions> <ListView ItemsSource="{Binding Source={StaticResource eventsViewSource}}" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="2" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Name="EventsListView"> <ListView.ItemsPanel> <ItemsPanelTemplate> <WrapPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center"/> </ItemsPanelTemplate> </ListView.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Grid Width="240"> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <Image Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1" Height="150" Width="150" Source="{Binding Path=Photo}" /> <TextBlock Grid.Row="1" TextWrapping="Wrap" Margin="0 5 0 0" TextAlignment="Center" FontSize="14" Text="{Binding Path=EventName}" HorizontalAlignment="Center"/> <TextBlock Grid.Row="3" Margin="0 5 0 0" TextAlignment="Center" FontSize="14" Text="{Binding Path=Date,StringFormat=d}" HorizontalAlignment="Center"/> <TextBlock Grid.Row="4" Margin="0 5 0 0" TextAlignment="Center" FontSize="14" Text="{Binding name}" HorizontalAlignment="Center"/> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> CSharp: using (var connection = new SqlConnection("Server=(localdb)\\mssqllocaldb;Database=shoidaaaaaaaaaa;")) { SqlCommand command = new SqlCommand("SELECT * FROM Event INNER JOIN Directions ON Event.id = Directions.id", connection); connection.Open(); SqlDataReader reader = command.ExecuteReader(); DataTable dataTable = new DataTable(); dataTable.Load(reader); // Load data from SqlDataReader into DataTable EventsListView.ItemsSource = dataTable.DefaultView; // Set DataTable as ItemsSource connection.Close(); }
V1.2 自动form表单使用方法 1. 创建 xaml 增加 <Window ... xmlns:autoform="clr-namespace:GYF.Utils.WPF.AutoForm;assembly=GYF.Utils.WPF" ... > <Grid> ... <autoform:FormListControl FontSize="20" DataContext="{Binding bList}" NameWidth="100" NameVerticalAlignment="Top" NameTextAlignment="Right"/> ... </WrapPanel> </Window> NameWidth 列名最小长度 默认100 NameVerticalAlignment 列名垂直位置 默认Top NameTextAlignment 列名横向位置 默认Right cs 绑定 public ConfigList_VM bList { get; set; } 2. 使用 类更新到model var e = new 你的类() bList.UpdateFrom(e); model更新到类 var e = bList.UpdateTo<你的类>(); 或 var e = new 你的类() bList.UpdateTo<你的类>(); 实体类的要求 如果属性名有 [FormName] 则显示时使用此名称 如果没有[FormName] 则直接使用属性名 如果属性名有 [FormIgnore] 则跳过显示 V1.1 增加基础样式 <ResourceDictionary Source="pack://application:,,,/GYF.Utils.WPF;component/NormalStyles.xaml" />