I have a custom silverlight control, which exposes a property with DataGridLength type. Now I want that property to have the same editor as a common DataGridColumn's Width property, with the combobox and everything, like this:

instead, I only get a simple TextBox, with "Auto" written in, with no way to set to SizeToCells and so on.
I assume I need a DesignTime attribute, but none of the ones I found in ComponentModel namespace even came close...
Reusing property editors for Blend 4
109 Views Asked by TDaver At
1
There are 1 best solutions below
Related Questions in SILVERLIGHT-4.0
- How can I pass content to a parent template from a child template in Silverstripe
- create a PDF document in Silverlight
- Silverlight 4 SDK
- How can I set a TextBox text programmatically in XAML (Silverlight)
- Silverlight 4 Application run in silverlight 5 in visual-studio-2015
- Access Local Files from IIS "silverligh"
- Binding Observable collection list to dynamically created ComboBox in Silverlight
- Silverlight - ComboBox and other fields in toolkit:DataForm are not available in the .xaml.cs
- Consume same WCF service from angular 2 and Silverlight application
- Richtextbox values showing in single line
- SilveLight 4, System Reflection.TargetInvocationException: (Async_ExceptionOccurred)
- Port Wince 7 Xaml Based application to win32 platform
- DataGrid HeaderStyle overriding Header
- Silverlight with RIA services on IIS 10.0 results in 404 error
- load dynamically dll from file path at runtime in silverlight
Related Questions in EXPRESSION-BLEND
- How do I open the Resources Window in Blend for VS2022?
- Blend for VS 2022 - PathListBox problems
- Could not locate the assembly "Microsoft.Expression.Drawing" in a WPF solution
- How can I convert ellipse to path in Microsoft Blend 2022?
- How can I round off the corners of a CheckBox template in WPF Blend?
- Adding new element to a ComboBox which is in a DataGrid in WPF using MVVM
- Simple ControlTemplate (edit a copy) for WPF Window doesn't work in Blend for Visual Studio 2017
- Change button Background on IsEnabled using expression blend
- LayoutRounding property is not defined
- LinearGradientBrush to Transparency shows white background
- Inheritance of VisualStateGroup / VisualState in a XAML Style / base class
- Expression Blend on VS 2010
- Draw diagonal Text/TextBlock/Label/Control in WPF relative to its container
- Edit WPF styles for a "designer"
- How do I edit a WPF button at runtime
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I guess you just have to create an Enum with the all the values autorized (Pixels, SizeToCells, etc ...), you that Enum as the type of your property DataGridLength and then, in the code of your control, take the corresponding action regarding the value sent.