|
|
|
|
|
Used to find out and modify the value of a .Net property for an Xaml control or for a Carousel control.
MyString is string = [
<Button Name="Test" Width=20>OK</Button>
]
DOTNET_Xaml_OK = MyString
Info("Control name: ", XamlProperty(DOTNET_Xaml_OK, "Test", "Name"))
Info("Font size: ", XamlProperty(DOTNET_Xaml_OK, "Test", "FontSize"))
IF ErrorOccurred = True THEN
Error(ErrorInfo())
END
MyString is string = [
<Button Name="Test" Width=20>OK</Button>
]
DOTNET_Xaml_OK = MyString
XamlProperty(DOTNET_Xaml_OK, "Test", "FontSize", 15)
IF ErrorOccurred = True THEN
Error(ErrorInfo())
END
Sintaxis
Finding out the value of a .Net property Ocultar los detalles
<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 Ocultar los detalles
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. Observaciones - 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.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|