Home > Net >  Want to use your own custom in the WPF XAML features such as x: Class x: Name it
Want to use your own custom in the WPF XAML features such as x: Class x: Name it

Time:10-03

Want to use your own custom in the WPF XAML features such as x: Class x: Name it

CodePudding user response:

Query in WPF .

CodePudding user response:

reference 1st floor exception92 response:
query in WPF ,

Hello, I just don't want to use additional attributes

CodePudding user response:

Is a reference type the XMLNS: local="CLR - namespace: CommonLib. Converters; The assembly=CommonLib "
Input XMLNS: custom name="type keywords will have code hinting"

CodePudding user response:

refer to the second floor m0_38034077 response:
Quote: refer to 1st floor exception92 response:

Query in WPF ,

Hello I just don't want to use additional attributes of

Concrete is to realize what function,

CodePudding user response:

reference OrdinaryCoder reply: 3/f
is a reference type the XMLNS: local="CLR - namespace: CommonLib. Converters; The assembly=CommonLib "
Input XMLNS: custom name="type keywords will have code hinting"
yes but not my custom features and

CodePudding user response:

reference 4 floor exception92 response:
Quote: refer to the second floor m0_38034077 response:

Quote: refer to 1st floor exception92 response:

Query in WPF ,

Hello I just don't want to use additional attributes of

Concrete is to realize what function,
is I now the Xaml code to delete now I want to use my custom in Xaml feature

CodePudding user response:

Play XMLNS: first: followed by your custom don't name the local rather than the local: custom name

CodePudding user response:

refer to the second floor OrdinaryCoder response:
hit XMLNS: first, followed by the custom don't you name the local rather than the local: custom name
this sentence you good around the mouth and I can't understand if you provide a simple code

CodePudding user response:

refer to 6th floor m0_38034077 response:
Quote: refer to 4th floor exception92 response:

Quote: refer to the second floor m0_38034077 response:

Quote: refer to 1st floor exception92 response:

Query in WPF ,

Hello I just don't want to use additional attributes of

Concrete is to realize what function,
is I now the Xaml code to delete now I want to use my custom features in Xaml

Additional properties or

CodePudding user response:

references 9 f exception92 response:
Quote: refer to the sixth floor m0_38034077 response:

Quote: refer to 4th floor exception92 response:

Quote: refer to the second floor m0_38034077 response:

Quote: refer to 1st floor exception92 response:

Query in WPF ,

Hello I just don't want to use additional attributes of

Concrete is to realize what function,
is I now the Xaml code to delete now I want to use my custom features in Xaml

Additional attributes, or
additional properties is possible but not dealing with reflection

CodePudding user response:

 
XMLNS: local="CLR - namespace: CommonLib. Converters; The assembly=CommonLib "

CodePudding user response:

The
reference 11 floor OrdinaryCoder response:
 
XMLNS: local="CLR - namespace: CommonLib. Converters; The assembly=CommonLib "
this is what the assembly I'm customization features

CodePudding user response:

Custom assembly

CodePudding user response:

String _style=@
".
. ";
StringReader strreader=new StringReader (_style);
XmlTextReader xmlreader=new XmlTextReader (strreader);
The object obj=XamlReader. Load (xmlreader);
ResourceDictionary _ControlStyle=(ResourceDictionary obj);
Resources. MergedDictionaries. Add (_ControlStyle);
TextBox. Style=Resources [StyleName] as Style;

CodePudding user response:

Xaml and CS is corresponding to it in the middle of a designer,

CodePudding user response:

15 floor XBodhi references. The response:
xaml and CS is corresponding to it in the middle of a designer,
to know but I don't like writing in CS so I delete the CS file directly

CodePudding user response:

But you still want to assign a CS, otherwise, the XAML is just a description file,

CodePudding user response:

null
  •  Tags:  
  • C#
  • Related