当前位置: 首页>>代码示例>>C#>>正文


C# NSMutableArray.AddUtilityButton方法代码示例

本文整理汇总了C#中NSMutableArray.AddUtilityButton方法的典型用法代码示例。如果您正苦于以下问题:C# NSMutableArray.AddUtilityButton方法的具体用法?C# NSMutableArray.AddUtilityButton怎么用?C# NSMutableArray.AddUtilityButton使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在NSMutableArray的用法示例。


在下文中一共展示了NSMutableArray.AddUtilityButton方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: LeftButtons

 private UIButton[] LeftButtons()
 {
     var leftUtilityButtons  = new NSMutableArray();
     leftUtilityButtons.AddUtilityButton(UIColor.FromRGB(242, 38, 19), UIImage.FromBundle("delete_big.png"));
     leftUtilityButtons.AddUtilityButton(UIColor.FromRGB(30, 130, 76), UIImage.FromBundle("share_big.png"));
     return NSArray.FromArray<UIButton>(leftUtilityButtons);
 }
开发者ID:pilouteam,项目名称:Strainer,代码行数:7,代码来源:CocktailTableViewSource.cs

示例2: LeftButtons

			static UIButton[] LeftButtons()
			{
				NSMutableArray leftUtilityButtons  = new NSMutableArray();
				leftUtilityButtons.AddUtilityButton(UIColor.FromRGBA(0.07f, 0.75f, 0.16f, 1.0f), UIImage.FromBundle("check.png"));
				leftUtilityButtons.AddUtilityButton(UIColor.FromRGBA(1.0f, 1.0f, 0.35f, 1.0f), UIImage.FromBundle("clock.png"));
				leftUtilityButtons.AddUtilityButton(UIColor.FromRGBA(1.0f, 0.231f, 0.188f, 1.0f), UIImage.FromBundle("cross.png"));
				leftUtilityButtons.AddUtilityButton(UIColor.FromRGBA(0.55f, 0.27f, 0.07f, 1.0f), UIImage.FromBundle("list.png"));
				return NSArray.FromArray<UIButton>(leftUtilityButtons);
			}
开发者ID:xmendoza,项目名称:BeerDrinkin,代码行数:9,代码来源:ViewController.cs

示例3: RightButtons

			static UIButton[] RightButtons()
			{
				NSMutableArray rightUtilityButtons = new NSMutableArray();
				rightUtilityButtons.AddUtilityButton(UIColor.FromRGBA(0.78f, 0.78f, 0.8f, 1.0f), "More");
				rightUtilityButtons.AddUtilityButton(UIColor.FromRGBA(1.0f, 0.231f, 0.188f, 1.0f), "Delete");
				return NSArray.FromArray<UIButton>(rightUtilityButtons);
			}
开发者ID:xmendoza,项目名称:BeerDrinkin,代码行数:7,代码来源:ViewController.cs


注:本文中的NSMutableArray.AddUtilityButton方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。