Advanced Forum Search Results
-
Hi,
If you override the DependencyProperty of parent class, you can manually set value as mentioned in my previous reply to reflect the change that is supported by parent class (in my sample, calling SetValue method to set Control.FontSizeProperty). You also have a entry to call your own method or trigger an event there. In my above code, if ...
-
Hi,
I'm not sure what you mean by "FontSize do not seem to work". You've created a new wrapper property and a new DependencyProperty so the value can be passed to them correctly, I think. Do you mean you cannot see font size change on the screen after changing the new FontSize property? This is because the FontSize you see ...
-
Hi,
An element will not render to WriteableBitmap if it's not measured or loaded. You can add the CheckBox to a Grid that has been defined in XAML and call Grid.UpdateLayout() method before creating the WriteableBitmap. After the WriteableBitmap is created, you can remove that CheckBox if you don't want it to stay in VisualTree ...
-
You're welcome. BTW, you can get some handy Silverlight samples from http://cfx.codeplex.com/. It's a project we're currently working on to provide sample based introduction to Microsoft technologies. We're continuing adding more and more samples. We'll cover poollingduplex in future releases. Please feel free to let me know if ...
-
Hi,
Could you please elaborate your scenario? Is the TreeView bound to data that is retrieved via web service call? Can you see the same behavior when using the following simple TreeView?
<controls:TreeView>
<controls:TreeViewItem ...
-
Hi,
Then let's use another approach to troubleshoot/solve this issue. Please use custom ServiceHostFactory to change all settings in code. Do you still see the same exception?
.svc:
<%@ ServiceHost Factory="Pooling.Web.DerivedFactory" Language="C#" Debug="true" Service="Pooling.Web.Service1" ...
-
Hi,
Is there any specific reason that you cannot put resources in the assembly of the model class? In addition, could you only use one project? You can put your model in a Folder instead of putting it in a new class library project.
-
Hi,
From the error description it looks like in MainPage.web_DownloadStringCompleted you created an instance of Uri but the parameter passed to its constructor is null. May I have a look at MainPage.web_DownloadStringCompleted method? At this point I would guess the parameter relies on user input or something that may change in different ...
-
Hi,
You don't have to use CustomBinding. Using pollingDuplexHttpBinding directly will be easier:
<system.serviceModel>
<diagnostics>
<messageLogging ...
-
[quote user="chszu"]But set MaxReceivedMessageSize property .There has error too.[/quote]
Could you please tell me what the error is? Is it still regarding MaxReceivedMessageSize? What can you see from the trace? Below is my system.serviceModel settings:
<system.serviceModel>
...