-
Notifications
You must be signed in to change notification settings - Fork 28
Css Namespace
David Rettenbacher edited this page Dec 9, 2017
·
1 revision
The @namespace keyword enables you to use style custom elements. Namespaces can then be used in selectors.
@namespace <custom-namespace-name> "<full-qualified-namespace>";
<custom-namespace-name>|<control-name> {
...
}
<custom-namespace-name>|<control-name> {
<custom-namespace-name>|<property-name>: <value>;
}
@namespace custom "App.UI.XamarinForms.Controls, App.UI.XamarinForms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null";
custom|MyLabel {
TextColor: Black;
custom|MyLabel.PlaceholderTextColor: #333;
}