microsoft / microsoft/microsoft-ui-xaml

Can't set 'Translation' in ScrollView in XAML

Open
#10,307 3 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

Can't set 'Translation' in ScrollView in XAML because of:
The XAML Binary Format (XBF) generator reported syntax error '0x09C4' : Property Not Found

### Steps to reproduce the bug

```


..
```

### Expected behavior

_No response_

### Screenshots

_No response_

### NuGet package version

None

### Windows version

_No response_

### Additional context

But it is possible to set with HotReload and from winrt/c++.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the XAML snippet with ScrollView, Translation="0, 0, 32", and ScrollView.Shadow, then compare the result with setting Translation through HotReload or WinRT/C++. Done means the same Translation value is accepted by XAML without the XBF 'Property Not Found' error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.