|
|
|
|
|
XamlProperty (Function) In french: XamlPropriété Used to find out and modify the value of a .Net property for an Xaml control or for a Carousel control.
MaChaîne is string = [
<Button Name="Test" Width=20>OK</Button>
]
DOTNET_Xaml_OK = MaChaîne
Info("Nom du contrôle : ", XamlProperty(DOTNET_Xaml_OK, "Test", "Name"))
Info("Taille de la police : ", XamlProperty(DOTNET_Xaml_OK, "Test", "FontSize"))
IF ErrorOccurred = True THEN
Error(ErrorInfo())
END
MaChaîne is string = [
<Button Name="Test" Width=20>OK</Button>
]
DOTNET_Xaml_OK = MaChaîne
XamlProperty(DOTNET_Xaml_OK, "Test", "FontSize", 15)
IF ErrorOccurred = True THEN
Error(ErrorInfo())
END
Syntax
Finding out the value of a .Net property Hide the details
<Result> = XamlProperty(<Xaml control> , <Name of .Net control> , <Property name>)
<Result>: Type depending on the specified property Value of specified property. <Xaml control>: Control name Name of Xaml control. <Name of .Net control>: Character string Name of .Net control whose property you want to get.This name is case sensitive. <Property name>: Character string Name of .Net property whose value you want to get. For more details, see the .Net documentation.This name is case sensitive.
Modifying the value of a .Net property Hide the details
XamlProperty(<Xaml control> , <Name of .Net control> , <Property name> , <New value>)
<Xaml control>: Control name Name of Xaml control. <Name of .Net control>: Character string Name of .Net control whose property will be modified.This name is case sensitive. <Property name>: Character string Name of the .Net property to modify. For more details, see the .Net documentation.This name is case sensitive. <New value>: Type depending on the specified property New value for the specified property. Remarks - If an error occurs, the ErrorOccurred variable is set to True.
- Important: PC SOFT provides no support for detailed .Net control properties.
You will find the different properties supported by the .Net controls in their own documentation.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|