Hi All,
I have a Combobox in SL App when I remove item from the collection
(ObservableCollectionUserDTO/List UserDTO ) work fine, but the issue
that Combobox not update its items-Containing area when its bind with
ObservableCollection, mean if there were 4 items in Combobox then will
Hi can anybody tell me how to get default Fonts that are available in SL2
using foreach, mean to populate Combobox or any control dynamically.?
Thanks Regards,
Muhammad Niaz
Software Engineer
Intagleo Systems Pvt Ltd
www.intagleo.co.uk
It can be done in WPF but the same class doesn't seem to exist in Silverlight
eg. Here is an example
Window.Resources
DataTemplate x:Key=FontTemplate
StackPanel Orientation=Horizontal
Border BorderThickness=1 BorderBrush=Black Margin=10
TextBlock
Muhammad,
I'm not sure you could get that info directly from SL, but you can look for the
appropriate function in JS and call it from SL.
If you depend on a certain font you can include them in a zip file and get them
through a request and create a FontSource object using the stream. This is
The ObservableCollection (or any collection that implements
ICollectionChange) exposes an event (CollectionChanged) and the Databinding
will subscribe to this to monitor changes in the collection, when one occur
it will cause the control to refresh it's datasource.
This is similar to objects
Remarks
ArgumentOutOfRangeException is thrown when a method is invoked and at least
one of the arguments passed to the method is not nullNothingnullptra null
reference (Nothing in Visual Basic) and does not contain a valid value.
ArgumentOutOfRangeException is used extensively by:
-