-
-
Save chrisntr/06957a70c9981f806857 to your computer and use it in GitHub Desktop.
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
var points = new List<PointF>(); | |
points.Add (new PointF(1f, 1f)); | |
points.Add (new PointF(2f, 2f)); | |
points.Add (new PointF(3f, 3f)); | |
points.Add (new PointF(4f, 4f)); | |
var shareButton = new UIBarButtonItem(UIBarButtonSystemItem.Reply); | |
shareButton.Clicked += (sender, e) => { | |
var pointList = (from p in points select new PointF(p.X, p.Y)).ToArray(); | |
Console.WriteLine ("Points = " + points.Count); | |
}; | |
NavigationItem.RightBarButtonItem = shareButton; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment