Whenever a touch state changes this Gesture Recognizer will fire an Updated event. This allows for a raw feed of touch data that a user could essentially use for anything.
This file contains 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 Xamarin.Forms.CustomAttributes; | |
using Xamarin.Forms.Internals; | |
namespace Xamarin.Forms.Controls.Effects | |
{ | |
[Preserve(AllMembers = true)] | |
public class AttachedStateEffect : RoutingEffect | |
{ | |
public enum AttachedState | |
{ |
This file contains 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
public interface IParScreen | |
{ | |
/// <summary> | |
/// The Router associated with this Screen. | |
/// </summary> | |
IParRoutingState Router { get; } | |
} | |
public interface IParRoutingState | |
{ |
This file contains 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; | |
using System.Collections.Generic; | |
using System.Collections.Specialized; | |
using Xamarin.Forms; | |
public delegate void RepeaterViewItemAddedEventHandler(object sender, RepeaterViewItemAddedEventArgs args); | |
/// <summary> |
This file contains 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
#!/bin/bash | |
# If you are on Visual Studio for Mac 2017 Turn off automatic package restore before running this script | |
# If you are on Visual Studio for Mac 2019 you do not need to turn off automatic package restore | |
# Visual Studio => Preferences => Nuget => General => uncheck the Package Restore box | |
# Needing to turn restore off isn't necessary in the latest preview releases of VS Mac | |
# Clean | |
git clean -dxf |
This file contains 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.Linq; | |
using Android.Graphics; | |
using Android.Graphics.Drawables; | |
using AColor = Android.Graphics.Color; | |
namespace Xamarin.Forms.Platform.Android | |
{ | |
internal class BorderDrawable : Drawable | |
{ |
This is only showing browsable areas and just assume there's always a shell parent
- ShellItem (Design Hidden) => FlyoutItem and TabBar
- ShellSection (Design Hidden) => Tab (Bottom Tabs)
- ShellContent => (Top Tabs represents)
- ShellSection (Design Hidden) => Tab (Bottom Tabs)
- Pushing global route pages happens at the Shell Section Level. So if you push a page onto the stack you've left that Shell Section and that Shell section (with its top tabs) is now one level down in the stack.
public FormsView
{
Func<Point, bool> _setInitialTransformationCallBack;
// could hide this behind explicit interface
public void RegisterCallBack(Func<Point, bool> callback)
{
_setInitialTransformationCallBack = callback;
}
OlderNewer