ComponentFactory.Krypton.Toolkit.ViewDrawButton.SetOrientation C# (CSharp) Method

SetOrientation() public method

Set the orientation of the two button components.
public SetOrientation ( VisualOrientation borderBackOrient, VisualOrientation contentOrient ) : void
borderBackOrient VisualOrientation Orientation of the button border and background..
contentOrient VisualOrientation Orientation of the button contents.
return void
        public void SetOrientation(VisualOrientation borderBackOrient, 
                                   VisualOrientation contentOrient)
        {
            _drawCanvas.Orientation = borderBackOrient;
            _drawContent.Orientation = contentOrient;
            UpdateDropDown();
        }