Click here to Skip to main content
15,893,668 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to remember the position of a GridSplitter (I "SOLVED" IT MYSELF) Pin
fjparisIII19-Jun-09 13:55
fjparisIII19-Jun-09 13:55 
GeneralRe: How to remember the position of a GridSplitter (I SOLVED IT MYSELF) Pin
Christian Graus19-Jun-09 17:37
protectorChristian Graus19-Jun-09 17:37 
Questionxmlns question Pin
#realJSOP19-Jun-09 4:39
mve#realJSOP19-Jun-09 4:39 
AnswerRe: xmlns question [modified] Pin
Eslam Afifi19-Jun-09 6:29
Eslam Afifi19-Jun-09 6:29 
AnswerRe: xmlns question Pin
Christian Graus19-Jun-09 11:45
protectorChristian Graus19-Jun-09 11:45 
GeneralRe: xmlns question Pin
#realJSOP19-Jun-09 15:15
mve#realJSOP19-Jun-09 15:15 
GeneralRe: xmlns question Pin
Mark Salsbery21-Jun-09 7:47
Mark Salsbery21-Jun-09 7:47 
AnswerRe: xmlns question Pin
SteveTheThread22-Jun-09 0:18
SteveTheThread22-Jun-09 0:18 
I am right in thinking you are refering to defining a namespace for e.g. a bunch of controls, and you wish to reference those controls in xaml using a (Xml) namespace rather than by code namespace and assembly, as in the example below (controls vs scm)

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
    xmlns:controls="http://schemas.xxx.com/wpf/xaml/controls">

To create your own (xml) namespace defintion, just done something like the following in you AssemblyInfo file
[assembly: XmlnsDefinition("http://schemas.xxx.com/wpf/xaml/controls", "xxx.Common.Controls")]
[assembly: XmlnsPrefix("http://schemas.xxx.com/wpf/xaml/controls", "controls")]

You can then use the xmlns definition in any xaml files that reference your controls project, but unfortunately, you can not use the xmlns defintition withn the project, eg. in a Resource dictionary within the project, which is understandable, but disappointing.
QuestionWeb browser application having database Pin
Rits11038918-Jun-09 21:34
Rits11038918-Jun-09 21:34 
AnswerRe: Web browser application having database Pin
Christian Graus18-Jun-09 23:54
protectorChristian Graus18-Jun-09 23:54 
GeneralRe: Web browser application having database Pin
#realJSOP19-Jun-09 0:11
mve#realJSOP19-Jun-09 0:11 
GeneralRe: Web browser application having database Pin
Rits11038919-Jun-09 0:27
Rits11038919-Jun-09 0:27 
GeneralRe: Web browser application having database Pin
Christian Graus19-Jun-09 11:00
protectorChristian Graus19-Jun-09 11:00 
GeneralRe: Web browser application having database Pin
Rits11038919-Jun-09 0:24
Rits11038919-Jun-09 0:24 
GeneralRe: Web browser application having database Pin
Christian Graus19-Jun-09 10:59
protectorChristian Graus19-Jun-09 10:59 
GeneralRe: Web browser application having database Pin
Rits11038920-Jun-09 1:27
Rits11038920-Jun-09 1:27 
QuestionSilverlight XAML controls [modified] Pin
Kamal Gurnani18-Jun-09 20:35
Kamal Gurnani18-Jun-09 20:35 
AnswerRe: Silverlight XAML controls Pin
Mark Salsbery19-Jun-09 7:22
Mark Salsbery19-Jun-09 7:22 
QuestionElementHost and Transparency Pin
Firedragonweb18-Jun-09 8:36
Firedragonweb18-Jun-09 8:36 
AnswerRe: ElementHost and Transparency Pin
Gideon Engelberth18-Jun-09 12:58
Gideon Engelberth18-Jun-09 12:58 
GeneralRe: ElementHost and Transparency Pin
Firedragonweb19-Jun-09 1:40
Firedragonweb19-Jun-09 1:40 
QuestionAssign names to ModelVisual3D's in code-behind Pin
Etienne_12317-Jun-09 23:54
Etienne_12317-Jun-09 23:54 
AnswerRe: Assign names to ModelVisual3D's in code-behind Pin
#realJSOP18-Jun-09 2:26
mve#realJSOP18-Jun-09 2:26 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Etienne_12318-Jun-09 4:34
Etienne_12318-Jun-09 4:34 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Ray Cassick18-Jun-09 12:43
Ray Cassick18-Jun-09 12:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.