Click here to Skip to main content
15,850,103 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Wpf System.Windows.Media.ImageSourcesConverter cannot be applied Pin
Richard Deeming2-Feb-22 3:44
mveRichard Deeming2-Feb-22 3:44 
Question(beginner) There must be a better way (TextBlock properties) Pin
Maximilien26-Jan-22 6:08
Maximilien26-Jan-22 6:08 
AnswerRe: (beginner) There must be a better way (TextBlock properties) Pin
Richard Deeming26-Jan-22 6:33
mveRichard Deeming26-Jan-22 6:33 
GeneralRe: (beginner) There must be a better way (TextBlock properties) Pin
Maximilien26-Jan-22 10:10
Maximilien26-Jan-22 10:10 
QuestionConverting a byte[] to a ImageSource means huge memory leak Pin
Starwer24-Jan-22 12:42
Starwer24-Jan-22 12:42 
AnswerRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Gerry Schmitz24-Jan-22 17:15
mveGerry Schmitz24-Jan-22 17:15 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Starwer24-Jan-22 20:58
Starwer24-Jan-22 20:58 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Gerry Schmitz24-Jan-22 22:26
mveGerry Schmitz24-Jan-22 22:26 
Well, your byte[] is a managed resource; so you might try .Dispose( true ); otherwise, I would use the debugger to follow the stream after the Dispose.
// Summary:
//     Releases the unmanaged resources used by the System.IO.MemoryStream class and
//     optionally releases the managed resources.
//
// Parameters:
//   disposing:
//     true to release both managed and unmanaged resources; false to release only unmanaged
//     resources.
protected override void Dispose( bool disposing );


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Starwer25-Jan-22 8:56
Starwer25-Jan-22 8:56 
AnswerRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Richard Deeming25-Jan-22 22:51
mveRichard Deeming25-Jan-22 22:51 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Starwer26-Jan-22 10:10
Starwer26-Jan-22 10:10 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Gerry Schmitz27-Jan-22 7:33
mveGerry Schmitz27-Jan-22 7:33 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Starwer27-Jan-22 21:29
Starwer27-Jan-22 21:29 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
lmoelleb3-Feb-22 5:58
lmoelleb3-Feb-22 5:58 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Starwer5-Feb-22 1:28
Starwer5-Feb-22 1:28 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
lmoelleb6-Feb-22 4:27
lmoelleb6-Feb-22 4:27 
AnswerRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Starwer30-Jan-22 6:04
Starwer30-Jan-22 6:04 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Gerry Schmitz30-Jan-22 6:23
mveGerry Schmitz30-Jan-22 6:23 
GeneralRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Starwer30-Jan-22 8:45
Starwer30-Jan-22 8:45 
SuggestionRe: Converting a byte[] to a ImageSource means huge memory leak Pin
Richard Deeming30-Jan-22 22:52
mveRichard Deeming30-Jan-22 22:52 
Question(MahApp) not using style for control Pin
Super Lloyd20-Jan-22 0:07
Super Lloyd20-Jan-22 0:07 
AnswerRe: (MahApp) not using style for control Pin
Super Lloyd20-Jan-22 0:08
Super Lloyd20-Jan-22 0:08 
QuestionMarkupExtension, resource files and visual studio designer Pin
Super Lloyd16-Jan-22 7:40
Super Lloyd16-Jan-22 7:40 
QuestionTextBox Bound To Decimal - Can't Type Decimal Pin
Kevin Marois28-Dec-21 9:29
professionalKevin Marois28-Dec-21 9:29 
AnswerRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Mycroft Holmes28-Dec-21 11:05
professionalMycroft Holmes28-Dec-21 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.