1
0
Fork 0
mirror of https://github.com/wagesj45/butterflow-ui.git synced 2024-12-22 17:12:42 -06:00
butterflow-ui/docs/html/aef87ef8-07f6-846c-9ef1-6ca90f68eb28.htm

12 lines
14 KiB
HTML
Raw Normal View History

<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>MainWindow.ScrollViewer_ScrollChanged Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="ScrollViewer_ScrollChanged method" /><meta name="System.Keywords" content="MainWindow.ScrollViewer_ScrollChanged method" /><meta name="Microsoft.Help.F1" content="butterflow_ui.MainWindow.ScrollViewer_ScrollChanged" /><meta name="Microsoft.Help.Id" content="M:butterflow_ui.MainWindow.ScrollViewer_ScrollChanged(System.Object,System.Windows.Controls.ScrollChangedEventArgs)" /><meta name="Description" content="Event handler. Called by ScrollViewer for scroll changed events." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="butterflow_ui" /><meta name="file" content="aef87ef8-07f6-846c-9ef1-6ca90f68eb28" /><meta name="guid" content="aef87ef8-07f6-846c-9ef1-6ca90f68eb28" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">A Sandcastle Documented Class Library<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html\e151fc72-f3cc-1740-7ea1-73c21ce1fa93.htm" title="A Sandcastle Documented Class Library" tocid="roottoc">A Sandcastle Documented Class Library</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/e151fc72-f3cc-1740-7ea1-73c21ce1fa93.htm" title="butterflow_ui" tocid="e151fc72-f3cc-1740-7ea1-73c21ce1fa93">butterflow_ui</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/7ae7656b-c378-ab3d-9af4-1be26a4a3904.htm" title="MainWindow Class" tocid="7ae7656b-c378-ab3d-9af4-1be26a4a3904">MainWindow Class</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/4afa4f83-5da6-1df0-b340-99b2c96b3285.htm" title="MainWindow Methods" tocid="4afa4f83-5da6-1df0-b340-99b2c96b3285">MainWindow Methods</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/dce4b75f-140c-76b3-2f51-a04b46ca5640.htm" title="_CreateDelegate Method " tocid="dce4b75f-140c-76b3-2f51-a04b46ca5640">_CreateDelegate Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/7480f4c7-7ae7-238f-ac6a-c4851fef0af0.htm" title="bntClip_Click Method " tocid="7480f4c7-7ae7-238f-ac6a-c4851fef0af0">bntClip_Click Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/afa48c69-3b6a-3df7-1ccc-de0ee41155e5.htm" title="bntVideoBackward_Click Method " tocid="afa48c69-3b6a-3df7-1ccc-de0ee41155e5">bntVideoBackward_Click Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtre
2018-07-09 14:50:36 -05:00
<strong>Namespace:</strong>
 <a href="e151fc72-f3cc-1740-7ea1-73c21ce1fa93.htm">butterflow_ui</a><br />
<strong>Assembly:</strong>
 butterflow-ui (in butterflow-ui.exe) Version: 1.0.5.43134 (1.0.0.0)<div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Syntax</span></div><div id="ID1RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EACA_tab1" class="codeSnippetContainerTabSingle">C#</div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EACA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EACA');return false;" title="Copy">Copy</a></div></div><div id="ID0EACA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">private</span> <span class="keyword">void</span> <span class="identifier">ScrollViewer_ScrollChanged</span>(
2018-07-09 14:50:36 -05:00
<span class="identifier">Object</span> <span class="parameter">sender</span>,
<span class="identifier">ScrollChangedEventArgs</span> <span class="parameter">e</span>
)</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EACA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">sender</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">System<span id="LST3B35473D_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST3B35473D_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Object</a><br /> Source of the event. </dd><dt><span class="parameter">e</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/ms612667" target="_blank">System.Windows.Controls<span id="LST3B35473D_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST3B35473D_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>ScrollChangedEventArgs</a><br /> Scroll changed event information. </dd></dl></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection">
2018-07-09 14:50:36 -05:00
This code autoscrolls the scroll viewer as more text is added. It is based on this example
from Stack Overflow:
https://stackoverflow.com/questions/2984803/how-to-automatically-scroll-scrollviewer-only-if-the-user-did-not-change-scrol.
</div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="7ae7656b-c378-ab3d-9af4-1be26a4a3904.htm">MainWindow Class</a></div><div class="seeAlsoStyle"><a href="e151fc72-f3cc-1740-7ea1-73c21ce1fa93.htm">butterflow_ui Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>