Connector end decorator size

Hello,

I'm trying to increase the size of the connector end decorators.

I tried to apply a scale transform to the DecoratorStyle but the decorator remains the same.

Thank you.


3 Replies 1 reply marked as answer

AK Arun Kumar Sivakumar Syncfusion Team May 7, 2024 06:32 AM UTC

Hi Eshar,


Requirement: How to increase the connector's target decorator size.


We have achieved your requirement, by setting the height and width for the TargetDecorator in its style. Please find the code snippet for your reference in the below table.


<!--Style for connector-->

 <Style TargetType="syncfusion:Connector">

     <Setter Property="ConnectorGeometryStyle">

         <Setter.Value>

             <Style TargetType="Path">

                 <Setter Property="Stroke" Value="#6BA5D7"/>

                 <Setter Property="StrokeThickness" Value="1"/>

             </Style>

         </Setter.Value>

     </Setter>

    

     <!-- Style for Target Decorator-->

     <Setter Property="TargetDecoratorStyle">

         <Setter.Value>

             <Style TargetType="Path">

                 <Setter Property="Fill" Value="#6BA5D7"/>

                 <Setter Property="StrokeThickness" Value="1"/>

                 <Setter Property="Stretch" Value="Fill"/>

                 <Setter Property="Height" Value="20"/>

                 <Setter Property="Width" Value="30"/>

             </Style>

         </Setter.Value>

     </Setter>

 </Style>

 


Regards,

Arun Kumar S


Marked as answer

EG Eshar Gal May 7, 2024 09:45 AM UTC

Thank you



KR Karkuvel Rajan Shanmugavel Syncfusion Team May 7, 2024 02:55 PM UTC

Hi Eshar,


You are most welcome, please get back to us if you need any other assistance. We are glad and happy to assist as always.


Regards,

Karkuvel Rajan S


Loader.
Up arrow icon