本文整理汇总了C#中UIView.AddRedBorder方法的典型用法代码示例。如果您正苦于以下问题:C# UIView.AddRedBorder方法的具体用法?C# UIView.AddRedBorder怎么用?C# UIView.AddRedBorder使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UIView
的用法示例。
在下文中一共展示了UIView.AddRedBorder方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ControlView
public ControlView(BoardView board)
{
noteContainer = new UIView();
noteContainer.AddRedBorder();
Add(noteContainer);
gotoStartButton = UIButton.FromType(UIButtonType.Custom);
gotoStartButton.SetBackgroundImage(UIImage.FromFile("controls/start.png"), UIControlState.Normal);
Add(gotoStartButton);
prevButton = UIButton.FromType(UIButtonType.Custom);
prevButton.SetBackgroundImage(UIImage.FromFile("controls/previous.png"), UIControlState.Normal);
Add(prevButton);
playButton = UIButton.FromType(UIButtonType.Custom);
playButton.SetBackgroundImage(UIImage.FromFile("controls/play.png"), UIControlState.Normal);
Add(playButton);
nextButton = UIButton.FromType(UIButtonType.Custom);
nextButton.SetBackgroundImage(UIImage.FromFile("controls/next.png"), UIControlState.Normal);
Add(nextButton);
gotoEndButton = UIButton.FromType(UIButtonType.Custom);
gotoEndButton.SetBackgroundImage(UIImage.FromFile("controls/end.png"), UIControlState.Normal);
Add(gotoEndButton);
gotoStartButton.TouchUpInside += board.GoToStart;
prevButton.TouchUpInside += board.PreviousMove;
playButton.TouchUpInside += board.Play;
nextButton.TouchUpInside += board.NextMove;
gotoEndButton.TouchUpInside += board.GoToEnd;
}