All Projects → LanceMcCarthy → Uwpprojects

LanceMcCarthy / Uwpprojects

Licence: mit
A set of UWP controls and utilities

Projects that are alternatives of or similar to Uwpprojects

Nucleus
The Ultimate Essentials Plugin for Sponge.
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest
Jupyter
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Stremio Web
Stremio - The media center you need
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Raven Reader
📖 All your articles in one place. Beautiful.
Stars: ✭ 2,040 (+1306.9%)
Mutual labels:  hacktoberfest
Reset Your Facebook Account
👴 Some scripts to delete your Facebook posts, comments and likes.
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest
Imgpush
Minimalist Self-hosted Image Service for user submitted images in your app
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest
Sp Dev Fx Property Controls
Reusable SPFx property pane controls - Open source initiative
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest
Openwisp Users
Implementation of user management and multi-tenancy for OpenWISP
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Cypress Audit
⚡️ Run Lighthouse and Pa11y audits directly in your E2E test suites
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Captain Fact Api
🔎 CaptainFact - API. The one that serves and process all the data for https://captainfact.io
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Vim Bootstrap
Vim Bootstrap is a generator that provides a simple method of generating a configuration for vim / neovim.
Stars: ✭ 1,870 (+1189.66%)
Mutual labels:  hacktoberfest
La Capitaine Icon Theme
La Capitaine is an icon pack designed to integrate with most desktop environments. The set of icons takes inspiration from the latest iterations of macOS and Google's Material Design.
Stars: ✭ 1,858 (+1181.38%)
Mutual labels:  hacktoberfest
Jhipster Dotnetcore
JHipster.NET blueprint
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest
Wradlib
weather radar data processing - python package
Stars: ✭ 143 (-1.38%)
Mutual labels:  hacktoberfest
Twcommunities
整理與蒐集台灣社群活動投影片
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Dotnet Standard Sdk
🆕🆕🆕.NET Standard library to access Watson Services.
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest
Atheos
A self-hosted browser-based cloud IDE, updated from Codiad IDE
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest
Sqlcell
SQLCell is a magic function for the Jupyter Notebook that executes raw, parallel, parameterized SQL queries with the ability to accept Python values as parameters and assign output data to Python variables while concurrently running Python code. And *much* more.
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Musicplayer
A minimal music player built on electron.
Stars: ✭ 145 (+0%)
Mutual labels:  hacktoberfest
Passer
Passive service locator, a python sniffer that identifies servers, clients, names and much more
Stars: ✭ 144 (-0.69%)
Mutual labels:  hacktoberfest

UwpProjects Build status

A set of UWP controls and utilities that I have built and used as a Windows dev. I will continue to add to this from my personal colleciton of do-dads and bobbles and as a I build new ones.

##Contents

  • AdaptiveGridView in UwpHelpers.Controls.ListControls (maintains aspect ratio of items as it scales for column width)
  • BusyIndicators in UwpHelpers.Controls.BusyIndicators (custom busy indicators)
  • BlurElementAsync in UwpHelpers.Examples.Helpers (converts any UIElement into a blurred bitmap)
  • IncrementalLoadingCollection in UwpHelpers.Controls.Common (Use this for lazy-loading scenarios, demo in Examples)
  • NetworkImage in UwpHelpers.Controls.ImageControls (an Image control that shows download progress)
  • DownloadStreamWithProgressAsync in UwpHelpers.Controls.Extensions (HttpClient Extension methods that reports download progress)
  • ReleaseNotesDialog in UwpHelpers.Controls.Dialogs (shows a list of Features and Fixes using the familiar ContentDialog approach)

AdaptiveGridView

alt tag

AdaptiveGridView with grouping

alt tag

Properties

  • MinItemWidth (double)
  • MinItemHeight (double)

Example

<listControls:AdaptiveGridView ItemsSource="{Binding ListItems}"
       MinItemHeight="105"
       MinItemWidth="315">
       

BusyIndicators

alt tag

  • BandBusyIndicator
  • DownloadUploadIndicator

Properties

  • IsActive (boolean): shows or hides the indicator
  • Direction (AnimationDirection): The direction of the animation
  • DisplayMessage (string): message shown when active
  • DisplayMessageSize (double): message font size
<busyIndicators:BandBusyIndicator IsActive="{Binding IsBusy}"
      DisplayMessage="busy..."
      Direction="Uploading"  />

BlurElementAsync

alt tag

Example

//You can pass any UIElement to the method and it will render all of the children into a bitmap with a Blur applied
var blurredElement = await ContentToBlur.BlurElementAsync();

//example: you can then set Background brush of a Grid
ContentRootGrid.Background = new ImageBrush
{
  ImageSource = blurredBitmapImage,
  Stretch = Stretch.UniformToFill
};

IncrementalLoadingCollection

alt tag

Example

XAML


<ListView ItemsSource="{Binding InfiniteItems}" />

ViewModel or Code-Behind


InfiniteItems = new IncrementalLoadingCollection<T>((cancellationToken, count) => Task.Run(GetMoreData, cancellationToken));
    
//and GetMoreData is
private async Task<ObservableCollection<T>> GetMoreData()
{
   return more items of type ObservableCollection<T>
}

NetworkImage

alt tag

Properties

  • ImageUrl (string): string url of the photo
  • IsActive (bool) - the control manages this automatically, but you can manually enable/disable if needed
  • DownloadPercentageVisibility (Visibility) - If you want to hide the progress percentage
  • ProgressRingVisibility (Visibility) - If you want to hide the ProgressRing animation
  • ImageStretch (Stretch) - Stretch property passed ot the underlying Image control

Example

XAML


<imageControls:NetworkImage ImageUrl="http://bigimages.com/MyHugeImage.jpg" />

DownloadStreamWithProgressAsync (HttpClient Extension)

alt tag

Properties

  • Url (string): url of the thing you want to download
  • Reporter (Progress<DownloadProgressArgs>) - reports the progress via event, see example below

Note: There are a couple more methods in the helper class (i.e. DownloadStringwithProgressAsync)

Example

C# - usage


var reporter = new Progress<DownloadProgressArgs>();
reporter.ProgressChanged += Reporter_ProgressChanged;

var imageStream = await new HttpClient(myFavoriteHandler).DownloadStreamWithProgressAsync(bigImageUrl, reporter)
    

C# - event handler

private void Reporter_ProgressChanged(object sender, DownloadProgressArgs e)
{
    SomeProgressBar.Value = e.PercentComplete;
}
    

ReleaseNotesDialog

alt tag

Properties

  • AppName (string): Set the Dialog's title, default value is "Release Notes"
  • Features (ObservableCollection<string>): List of new features
  • Fixes (ObservableCollection<string>): List of fixes
  • UseFullVersionNumber (bool): Determines whether to show the Build number (1.0.X).

Example

C# - usage


 var rnd = new ReleaseNotesDialog();
    
rnd.AppName = "My App Name";
rnd.Message = "Thank you for checking out ReleaseNotesDialog! Here's a list of what's new and what's fixed:";
    
rnd.Features = new ObservableCollection<string>
{ 
    "Amazing feature!", 
    "Added theming", 
    "Backup and restore added!" 
};
    
rnd.Fixes = new ObservableCollection<string>
{
    "Fixed crash when opening",
    "Added text wrapping to fix text being cut off"
};
    
await rnd.ShowAsync();

  • Updated to be included in GitHub Arctic Code Vault
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].