GithubHelp home page GithubHelp logo

xamarin.forms.behaviorspack's Introduction

Xamarin.Forms.BehaviorsPack

Japanese

Xamarin.Forms.BehaviorsPack is Behavior class library for Xamarin.Forms.
This library contains the following Behavior implementation.

Name Overview
EventToCommandBehavior Execute ICommand when an event fires in UI Controls.
SelectedItemBehavior SelectedItemBehavior to execute the command when the SelectedItem event occurs in ListView.
DisplayActionSheetBehavior Display ActionSheet and execute ICommand corresponding to user operation.
DisplayAlertBehavior Display Alert and execute ICommand corresponding to user operation.

In addition, it contains abstract class that facilitates Behavior implementation.

This library facilitates the implementation of interaction between View and ViewModel when MVVM pattern.

How to install

Install from NuGet.

> Install-Package Xamarin.Forms.BehaviorsPack

https://www.nuget.org/packages/Xamarin.Forms.BehaviorsPack

Precondition

In the sample code of this library, it is assumed that the library namespace is declared at the beginning of XAML.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:behaviorsPack="clr-namespace:Xamarin.Forms.BehaviorsPack;assembly=Xamarin.Forms.BehaviorsPack"

How to Use

Sample Codes

A sample project applying this library is published to the following path of this repository.

src/BehaviorsSampleApp.sln

Contact Us

Please register to Issues.

xamarin.forms.behaviorspack's People

Contributors

nuitsjp avatar

Watchers

Satoshi Gachi Fujimoto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.