Hide or uncheck "Create label"

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Hide or uncheck "Create label"

Post by Fabio Pagano »

Recently you've added in designer the "Create label" checkbox. Is it possibile to hide it or to make it default to unchecked (from code)?

Thanks.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Hide or uncheck "Create label"

Post by Vital »

You can use following code to hide checkbox:

Code: Select all

StiDictionaryPanelService service = StiDictionaryPanelService.GetService();
service.ShowCreateLabel = false;
Code to set state of checkbox to false:

Code: Select all

StiSettings.Load();
					StiSettings.Set("StiDesigner", "CreateLabel", false);			
					StiSettings.Save();
Thank you.

Post Reply