Advanced Forum Search Results
-
How to create that generic file and how to include it in the project?
The generic file will contain styles with Keys so it will work just like placing the style in <UserControl.Resources>? or there will be any syntax change using a style in generic.xaml
-
How can i create a XAML resouce file that contains Templates and Styles for my application?
I have 6 projects in the solutionk, the main project has a App.xaml file, i have all the common templates and style there, but now it has become a huge file and i want to create saprate resource files for seperate type of controls. How can i apply the ...
-
Thank you very much, exactly what i was looking for
-
Actually i want to do this in code. Mean a row has auto property set in MAXML and then i want to change it though C# code. Anybody?
-
How can i change a grid row height to 1*, Auto in the C# code?
-
Thanks alot of your support, it worked. I have encapsulated all the functionality in my custom control, its become so easy and controlled
Thanks Again
-
Yes actually i want to use binding plus some manual decisions making, Actually there are two types of DataElements i need to show, one is single data element and 2nd is group data element. Now when the Element type is Group i need to show a totally different icon also i need to create another list inside the control to make it behave like a ...
-
Thanks alot, i will try and it should work. One question though
If i dont want to use binding when should i cast and use the method and properties of DataContext ? I mean can i write code in customUserControls' isLoaded event handler? Will it be actually assigned to the customUserControl before control's isLoaded is ...
-
Is there a way to actually pass a whole object in list item (that is actually a user control) ?
<ListBox x:Name="myList" >
...
-
I think the best way to do this is to use "ScrollableHeightProperty" and "ScrollableWidthProperty", as they are equal to maximum offset for you current content.
When you add a new item, you can add a new line of code like
ScrollViewerInstance.ScrollToHorizontalOffset( ...