Any way to create an inner glow on text?
Is there any way to create an inner glow effect that will affect each character in your text individually. This is done to create an embossed effect for text. Here is an example....
View ArticleWait till all items load
Hii am adding some videos like 10 to 15 videos in a stackpaneli want to trigger a function after all the videos is loaded and added,Thank you.
View ArticleFire ICommand by just using the command name
Hi,I have a view model that has a command and also a menu interface that points to another class that builds the menu:private RelayCommand _test; public ICommand TESTCommand { get { if (_test == null)...
View ArticleWPF event handling?
Does anyone have an idea where to find some kind of overview about how the events in WPF work. I'm not asking "how to", but rather "what the...". ;-)I don't even know if the events are WPF-events,...
View ArticleHow do I turn off the default Find Options of FlowDocumentReader
How do I turn off the Find Options combobox drop down with values like,Match Diacritic,,Match Kashida,Match alef hamza in FlowDocumentReader.
View ArticleHeight problem of WindowsFormsHost inside scrollviewer
I am using WindowsFormsHost control in a wpf application .I used this WindowsFormsHostcontrol for hosting a CefGlue CefWebBrowser (an opensource webbrowser control) .If i set the height of the...
View ArticleHow to search text in WPF FlowDocument?(Find Previous text)
How to search text from bottom to top (Find Previous text) in WPF FlowDocument?Here I got one sample : http://shevaspace.blogspot.in/2007/11/how-to-search-text-in-wpf-flowdocument.htmlBut,there is no...
View ArticleMVVM Entity Data Model. How to change EDM DB connection parameters at runtime
hi,I created a MVVM project with a EntityDataModel (MyDataModel.edmx) and a related DataContext (MyDataContext), bound to a given DB schema. The resulting connection string in App.config is the...
View Articleruntime error "The specified Visual and this Visual do not share a common...
HelloI'm working on a Visual Studio 2010 project (recently converted to VS2010 and .NET 4.0, windows 7 x64) in WinForms which has a WPF User Control in it (with an elementhost). Everything worked fine,...
View ArticleKeyboardnavigation style
Hy, can I change the style by keyboardnavigation on a element?I meen the points around the control... (I can't upload a image or link, sorry...) Thanks Regards Olli
View ArticleWPF and MVVM: How to inject ViewModel into Child control with MEF?
I have user control and its associated Viewmodel namely, ChildView and ChildViewModel. Code is as follows,public partial class ChildView { public ChildView() { InitializeComponent(); } [Import] public...
View ArticlePrint a Visual multiple times on a page
Hi, I have a list of records in my DB. I print a Visual for 1 record on a page in Portrait form. Now I want to print the same Visual 3 times on a single page of 3 records. Thus print 3 visuals in 1...
View ArticleRender a Visual aliased to a bitmap
I need to render some Grid Visual to a bitmap to use it in documents like MS Word. The bitmap should be copied via the clipboard. I've found the RenderTargetBitmap class to do that and the rendering...
View ArticleHow to access control from ContextMenu
Hi,I have expander control , on the header of expander i have defined context menu, which has several buttons , how can i acess these buttons from code behind.I have tried following code in c# _btnUp =...
View ArticleMVVM and Updating a Selected Count
I have a viewmodel that has a list of objects and on the object i have a selected property. My view has a datagrid and the itemssource of the datagrid is the list of objects in the viewmodel. The...
View ArticleVisual State Manager problems
Hi,I'm a newbie to using a VSM but expected the code below to light up the border when the mouse was over the control. However, it does nothing. Would any kind soul be able to nudge me in the right...
View ArticleHow to extend DataGrid's last column when num cols not known at XAML design...
Normally, to get a DataGrid column to extend across the remaining available width one would specify the columns width to be "*". However, how can this be done if the number of columns is not defined at...
View ArticleDatabinding with collection of collection
Hi I have below class structure. public class TopLevelClass { public ObservableCollection<ChildLevel1Class> CounterGroupCollection { get; } } public class...
View Articlefilter ListView by range date on one column
Hi All.How to filter ListView by range date of one column? I will appreaciat for sample.Thanks.
View ArticleElement-to-Element binding inside a DataTemplate
I have a FlipView control named imageFlipview which resides under the DataTemplete of its parent FlipView named flipView I have a control which is the sibling control of imageFlipView named...
View Article