本文整理汇总了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);
}
示例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);
}
示例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);
}