We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom StyleInfoProperties

Thread ID:

Created:

Updated:

Platform:

Replies:

39135 Dec 28,2005 03:21 PM UTC Dec 29,2005 09:10 AM UTC WinForms 2
loading
Tags: GridControl
Georgi Kashev
Asked On December 28, 2005 03:21 PM UTC

Hi, How can I add custom properties in a StyleInfoStore? I need properties different than those defined in GridStyleInfoStore. Unfortunately, StyleInfoProperty has no public constructor. Are the custom properties supported? Regards

Administrator [Syncfusion]
Replied On December 29, 2005 07:21 AM UTC

Hi Andy Maurer, You can extend GridStyleInfo to hold your own custom properties. For example, the style.MaskEdit, style.CurrencyEdit and style.FormulaTag are extended properties added to the GridStyleInfo class. So, if you have the grid source code, you could take one of these (the FormulaTag may be closest to what you have), and create your own extended style property mimicing that code. Here is a link to a sample showing this process which might be simpler. CustomstyleInfoSample.zip also refer the Browse samples : syncfusion\essential studio\3.3.0.1\Windows\Grid.Windows\samples\CellTypes\PictureBoxCells Syncfusion\Essential Studio\4.1.0.10\windows\Grid.Windows\Samples\CellTypes\SliderCells Let me know if you need any further assitance. Regards, Haneef

Administrator [Syncfusion]
Replied On December 29, 2005 09:10 AM UTC

Hi Georgi Kashev, My apologies for addressing to the wrong person, it was meant for you. You can extend GridStyleInfo to hold your own custom properties. For example, the style.MaskEdit, style.CurrencyEdit and style.FormulaTag are extended properties added to the GridStyleInfo class. So, if you have the grid source code, you could take one of these (the FormulaTag may be closest to what you have), and create your own extended style property mimicing that code. Here is a link to a sample showing this process which might be simpler. CustomstyleInfoSample.zip also refer the Browse samples: syncfusion\essential studio\3.3.0.1\Windows\Grid.Windows\samples\CellTypes\PictureBoxCells syncfusion\essential studio\3.3.0.1\Windows\Grid.Windows\samples\CellTypes\SliderCells Let me know if you need any further assitance. Regards, Haneef

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;