![]() | SectionManagerSetStyle Method |
Namespace: VIZCore3DX.NET.Manager
public void SetStyle( SectionStyle style )
// VIZCore3DX.NET Control private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx; private void Example() { // Get Style VIZCore3DX.NET.Data.SectionStyle sectionStyle = vizcore3dx.Section.GetStyle(); sectionStyle.BoundaryStrokeColor = Color.Red; sectionStyle.FaceFillColor = Color.FromArgb(10, Color.Aqua); sectionStyle.BoundaryStrokeThickness = 10; sectionStyle.HighlightedBoundaryStrokeColor = Color.Green; sectionStyle.SelectedBoundaryStrokeColor = Color.Green; sectionStyle.DisabledBoundaryStrokeColor = Color.Green; sectionStyle.XHandleFillColor = Color.Yellow; sectionStyle.YHandleFillColor = Color.Yellow; sectionStyle.ZHandleFillColor = Color.Yellow; sectionStyle.HighlightedHandleFillColor = Color.Red; // Set Style vizcore3dx.Section.SetStyle(sectionStyle); }