Avalonia: Suggestion: Can WritableBitmap be renamed to WriteableBitmap

Created on 25 Feb 2018  路  12Comments  路  Source: AvaloniaUI/Avalonia

I guess this was a typo at some point.

Most helpful comment

@ForNeVeR I think the WriteableBitmap is well for WPF is WriteableBitmap

We can copy the code to Avalonia when we use WriteableBitmap but we should change the code when we use WritableBitmap

All 12 comments

I think it is may a typo.

Both words do exist, while writable seems like a most common one?

@ForNeVeR I think the WriteableBitmap is well for WPF is WriteableBitmap

We can copy the code to Avalonia when we use WriteableBitmap but we should change the code when we use WritableBitmap

@ForNeVeR it is interesting that writeable appears less common in English but it is certainly more common in xaml frameworks. The avalonia version has caught me out more than once.

The name was initially chosen to match the WPF's counterpart.

@kekekeks WPF is WriteableBitmap

Ouch.

Sorry, I should have been clearer in my original post.

233

It might be a breaking change for https://github.com/VitalElement/CefGlue.Core/blob/cabfb71a1b7cb537fa7f5fa33c73e8bd3daef817/CefGlue.Avalonia/AvaloniaCefBrowser.cs

I don't see other libraries on github that are using it. It might be worth to rename this class early.

@grokys @jkoritzinsky

rename it!

Yeah rename it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kekekeks picture kekekeks  路  4Comments

x2bool picture x2bool  路  4Comments

Suriman picture Suriman  路  3Comments

GitHubington picture GitHubington  路  3Comments

georgiuk picture georgiuk  路  3Comments