Advanced Forum Search Results
-
I think you can't and not only because the constructor of BehaviorCollection is not public. If it was public you will be able to define Behaviors in the Style definition, but if more than one controls use the same style you will receive exception that you are trying to attach one behaviour to more than one object at a time.
-
Thank you Amanda,
But isn't this site for Silverlight Toolkit only? My question was about DataFormField which is a part of SDK.
-
Thank you Jonathan,
To reproduce the problem, you could try the following. Get HRAppCS from .NET RIA Services Walkthrough Sample (http://code.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=2387) and make the following changes.
Into EmployeeList.xaml change employeeDataSource's AutoLoad from "True" ...
-
... there are 5 classes: SelectorExtender, DataFormComboBoxFieldExtender, ControlExtenders (to register Extenders as AttachedProperties), DataFormComboBoxField and TypeHelper (a static helper class):
SelectorExtender.cs:
using System;
using System.Windows;
using System.Windows.Controls;
using ...
-
I'll post it here (sorry, if it's not a good idea)...
-
I wrote about my solution here: http://silverlight.net/forums/p/99345/232273.aspx#232273
After adding some helper (extender) classes everything in the application could be done trough xaml.
-
I have a little bit different solution for ComboBox and DataFormComboBoxField.
Using it I don't need to write any additional code in my applications because
everything I need would be done through xaml. To have that I made extenders
for ComboBox (actually for Selector class) and for DataFormComboBoxField.
The first one ...
-
Hi to all from MSFT,
Could you change DataFormField.Element and BindingExpressions from internal to protected. In this way we (application developers) could be able to extend existing functionality of existing DataFormFields (and even add new ones) in a much easier way.
I think request for changing Element property from internal to protected is ...
-
I have a DomainDataSource with AutoLoad False and DataGrid and DataPager bound to its Data. When I call DomainDataSource's Load in code behind loaded data are displayed in the DataGrid, but sorting does not work. After going to another page I can do sort, but only once (only the first click on DataGrid's ...
-
... in the preview it (my previous post) seemed much better