public UINoteDiscGuideView(object parentView, RectangleF frame, DoneClickDelegate onClick) { View = PlatformView.Create( ); View.AddAsSubview(parentView); View.BackgroundColor = ControlStylingConfig.BackgroundColor; View.UserInteractionEnabled = false; // Guide Desc Header GuideDescHeader = PlatformLabel.Create( ); GuideDescHeader.AddAsSubview(parentView); GuideDescHeader.TextAlignment = TextAlignment.Center; GuideDescHeader.SetFont(ControlStylingConfig.Font_Bold, ControlStylingConfig.Large_FontSize); GuideDescHeader.TextColor = ControlStylingConfig.TextField_ActiveTextColor; GuideDescHeader.Text = Strings.MessagesStrings.DiscussionGuide_Header; // Guide Desc GuideDescLayer = PlatformView.Create( ); GuideDescLayer.AddAsSubview(parentView); GuideDescLayer.BackgroundColor = ControlStylingConfig.BG_Layer_Color; GuideDescLayer.BorderColor = ControlStylingConfig.BG_Layer_BorderColor; GuideDescLayer.BorderWidth = ControlStylingConfig.BG_Layer_BorderWidth; GuideDesc = PlatformLabel.Create( ); GuideDesc.AddAsSubview(parentView); GuideDesc.SetFont(ControlStylingConfig.Font_Light, ControlStylingConfig.Medium_FontSize); GuideDesc.TextColor = ControlStylingConfig.TextField_ActiveTextColor; GuideDesc.TextAlignment = TextAlignment.Center; GuideDesc.Text = Strings.MessagesStrings.DiscussionGuide_Desc; // View Guide Button ViewGuideButton = PlatformButton.Create( ); ViewGuideButton.CornerRadius = 4; ViewGuideButton.BackgroundColor = ControlStylingConfig.Button_BGColor; ViewGuideButton.TextColor = ControlStylingConfig.Button_TextColor; ViewGuideButton.UserInteractionEnabled = true; ViewGuideButton.AddAsSubview(parentView); ViewGuideButton.ClickEvent = ( PlatformButton button ) => { if (onClick != null) { onClick( ); } }; ViewGuideButton.Text = "View Guide"; SetBounds(frame); }