Hello Telerik Team,
I try to access an element from our application (not accessible outside the company sorry) with a XamlFindExpression and it doesn't work when some of the controls types are "proprietary". It always returns an error.
I use:
Dim SecondElement As TextBlock
SecondElement = SilverLightMain.appMain.Find.ByExpression(New XamlFindExpression("Name=FunctionScriptView","|","XamlPath=/Grid[0]/Border[1]/Grid[0]/Grid[0]/ScrollViewer[0]/Border[0]/Grid[0]/ScrollContentPresenter[0]/Border[0]/DEXWebv2.FunctionEditor.Views.Functions.DateLastDayOfMonthView[0]/Grid[0]/DEXWebv2.FunctionEditor.Views.Functions.FunctionParamControl[0]/ContentPresenter[0]/Grid[0]/Border[0]/TextBlock[0]")).[As](Of TextBlock)()
Is there a way to have the XamlFindExpression to work in this case?
Thank you.
I try to access an element from our application (not accessible outside the company sorry) with a XamlFindExpression and it doesn't work when some of the controls types are "proprietary". It always returns an error.
I use:
Dim SecondElement As TextBlock
SecondElement = SilverLightMain.appMain.Find.ByExpression(New XamlFindExpression("Name=FunctionScriptView","|","XamlPath=/Grid[0]/Border[1]/Grid[0]/Grid[0]/ScrollViewer[0]/Border[0]/Grid[0]/ScrollContentPresenter[0]/Border[0]/DEXWebv2.FunctionEditor.Views.Functions.DateLastDayOfMonthView[0]/Grid[0]/DEXWebv2.FunctionEditor.Views.Functions.FunctionParamControl[0]/ContentPresenter[0]/Grid[0]/Border[0]/TextBlock[0]")).[As](Of TextBlock)()
Is there a way to have the XamlFindExpression to work in this case?
Thank you.