AppVeyor.UI.Common.DropDownButton.OnClick C# (CSharp) Method

OnClick() protected method

protected OnClick ( ) : void
return void
        protected override void OnClick()
        {
            if (DropDown != null)
            {
                // If there is a drop-down assigned to this button, then position and display it

                DropDown.PlacementTarget = this;
                DropDown.Placement = PlacementMode.Bottom;

                DropDown.IsOpen = true;
            }
        }