This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://forums.xamarin.com/discussion/comment/133731/#Comment_133731 | |
public partial class Page1 | |
{ | |
public Page1() | |
{ | |
this.InitializeComponent(); | |
this.Entry.TextChanged += this.EntryOnTextChanged; | |
} | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://bugzilla.xamarin.com/show_bug.cgi?id=21981#c5 | |
using Xamarin.Forms; | |
[assembly: ExportImageSourceHandler(typeof(UriImageSource), typeof(iOS.Renderers.ImageLoaderSourceHandler))] | |
namespace iOS.Renderers | |
{ | |
using System.Collections.Generic; | |
using System.Threading; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://msdn.microsoft.com/en-us/magazine/dd569760.aspx | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace OperationQueueTest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
namespace Circuit | |
{ | |
public static class Dsp | |
{ | |
class FftSetupD : IDisposable | |
{ | |
public IntPtr Handle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://forums.xamarin.com/discussion/comment/89964/#Comment_89964 | |
namespace Core.Converters | |
{ | |
public class ByteArrayToImageSource : IValueConverter | |
{ | |
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) | |
{ | |
if (value == null || value is DBNull) | |
return null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://forums.xamarin.com/discussion/comment/129611/#Comment_129611 | |
public interface IPageWithResult<out T> | |
{ | |
T PageResult { get; } | |
} | |
public static class PageExtensions | |
{ | |
public static Task<TResult> ShowModalAsync<TPage, TResult>(this TPage page) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SearchBar x:Name="search" Placeholder="Search" | |
SearchCommandParameter="{Binding Text, Source={x:Reference search}}" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SkinnableApp/App.xaml | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Application xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="SkinnableApp.App"> | |
<Application.Resources> | |
<ResourceDictionary> | |
</ResourceDictionary> | |
</Application.Resources> | |
</Application> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RoundRectLabel.cs | |
using System; | |
using Xamarin.Forms; | |
namespace App | |
{ | |
public class RoundRectLabel : Label | |
{ | |
public static readonly BindableProperty BorderColorProperty = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Xamarin.Forms; | |
namespace App | |
{ | |
public class ConcreteTypeConverter<T> | |
: JsonConverter |