Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 933 Bytes

kb-diagram-change-shape-minimum-size.md

File metadata and controls

44 lines (37 loc) · 933 Bytes
title page_title description type slug position tags ticketid res_type
How to Resize Shape Below 15 Pixels
Change RadDiagramShape Minimum Size
Use the DiagramConstants class to lower the minimum width and height of the RadDiagram shapes.
how-to
kb-diagram-change-shape-minimum-size
0
minimum,size,15,diagram
1428358
kb

Environment

Product Version 2019.2.618
Product RadDiagram for WPF

Description

How to resize RadDiagramShape below the minimum size of 15px.

Solution

Set the DiagramConstants.MinimumShapeSize and DiagramConstants.MinimumAdornerSize properties.

[C#]

{{region kb-diagram-change-shape-minimum-size-0}} public MainWindow() { DiagramConstants.MinimumAdornerSize = 3; DiagramConstants.MinimumShapeSize = 3;

	InitializeComponent();
}

{{endregion}}