pkar.UWP.SharedControls
1.0.9
Prefix Reserved
dotnet add package pkar.UWP.SharedControls --version 1.0.9
NuGet\Install-Package pkar.UWP.SharedControls -Version 1.0.9
<PackageReference Include="pkar.UWP.SharedControls" Version="1.0.9" />
<PackageVersion Include="pkar.UWP.SharedControls" Version="1.0.9" />
<PackageReference Include="pkar.UWP.SharedControls" />
paket add pkar.UWP.SharedControls --version 1.0.9
#r "nuget: pkar.UWP.SharedControls, 1.0.9"
#:package pkar.UWP.SharedControls@1.0.9
#addin nuget:?package=pkar.UWP.SharedControls&version=1.0.9
#tool nuget:?package=pkar.UWP.SharedControls&version=1.0.9
Moje kontrolki uwspólniające UI
AppBarButtOpenWeb.vb AppBarButton, z ikonką Controls.Symbol.Globe, i otwierająca stronę Uri w domyślnej przeglądarce BrowseFileFolder.vb Grid z TextBox z Path (Width=*) oraz buttonem (Width=Auto). BoxReadOnly, DefaultStartDir, UseFileOpen, UseFileSave, UseFolder, FileTypesList, FileTypesString, ValueChanged, SetSettingsString, GetSettingsString ButtonAddEntry.vb Button z ikoną Controls.Symbol.Add, tooltipem "Add entry" ButtonLeftContext.vb ButtonOkSave.vb Button z OK i tooltipem ButtonPopupmenu.vb GridedTextBox.vb IconUnicode.vb MenuItemIcon.vb MenuVertical.vb PageTitleSettings.vb Debug, Text, HideVersion, DisableMenu, HiddenCommands. Nie zadziała w MainPage, bo wtedy podczas NEW jeszcze nie ma Settings. SliderWithHdr.xaml.vb Minimum, Maximum, Header, Sufix (w TextBox po wartości dopisywany), Value, SetSettingsInt, GetSettingsInt StretchedGrid.vb Cols, Rows, AutoRows StretchedGridBlue.vb StretchedListView.vb BlueItems // since 1.0.10, ^F and ^C TabledTBox.vb TextBlockAppVersion.vb TextBlockPageTitle.vb TimeEntry.xaml TimeEntry.xaml.vb UserDateRange.xaml.vb UserPropSelector.vb - nie umie Dumpować obiektów/list, bo to wymaga BaseStruct, a wolałem tego nie dodawać
Oraz
UWP WinUI3 MAUI WPF
AppBarButton + + (symulacja) CommandBar + + (symulacja) MenuFlyout + + (alias) MenuFlyoutItem + + (alias) Button + + (symulacja) ProgressRing + + (symulacja) StorageFolder + ? (symulacja) SymbolIcon + ? (symulacja)
Pozostaje TextBox z Headerem
Uwaga: pkar.Wpf.SharedControls itp. jako package name, ale pkar.UI.SharedControls jako assembly name, żeby taki sam był w XAML: xmlns:pksc="clr-namespace:pk.UI.SharedControls;assembly=pkar.UI.SharedControls"
Do kontrolek UWP mozna dodać button private async void bRateIt_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) {// nie wejdzie tu przy !UWP, bo wygasza wtedy Button; #if żeby nie było warninga Uri sUri = new Uri("ms-windows-store://review/?PFN=" + Windows.ApplicationModel.Package.Current.Id.FamilyName); await Windows.System.Launcher.LaunchUriAsync(sUri); } AppBarButton x:Uid="resAboutRate" Icon="OutlineStar" Label="Rate" Click="bRateIt_Click" /> Rate/Oceń
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| Universal Windows Platform | netcore50 is compatible. uap was computed. uap10.0 is compatible. |
-
.NETCore 5.0
- Microsoft.Extensions.Configuration (>= 1.1.2)
- Microsoft.Extensions.Configuration.Binder (>= 1.1.2)
- Microsoft.NETCore.UniversalWindowsPlatform (>= 6.2.14)
- pkar.UWP.Config (>= 2.1.1)
- pkar.Uwp.Extensions (>= 2.0.13)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.9 | 200 | 10/29/2025 |
initial release