1
0
Fork 0
mirror of https://github.com/wagesj45/butterflow-ui.git synced 2024-11-14 05:43:33 -06:00
butterflow-ui/docs/html/097cfdfe-d69f-d263-612c-a33468013317.htm

34 lines
No EOL
12 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>InverseBoolConverter.Convert Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="Convert method" /><meta name="System.Keywords" content="InverseBoolConverter.Convert method" /><meta name="Microsoft.Help.F1" content="butterflow_ui.InverseBoolConverter.Convert" /><meta name="Microsoft.Help.Id" content="M:butterflow_ui.InverseBoolConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)" /><meta name="Description" content="Converts a boolean to its inverse." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="butterflow_ui" /><meta name="file" content="097cfdfe-d69f-d263-612c-a33468013317" /><meta name="guid" content="097cfdfe-d69f-d263-612c-a33468013317" /><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/571e5a65-b19d-80a7-fc52-e02575182e64.htm" title="InverseBoolConverter Class" tocid="571e5a65-b19d-80a7-fc52-e02575182e64">InverseBoolConverter 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/825b5c96-d9f1-20e2-cb31-7c084b449b1f.htm" title="InverseBoolConverter Methods" tocid="825b5c96-d9f1-20e2-cb31-7c084b449b1f">InverseBoolConverter Methods</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="../html/097cfdfe-d69f-d263-612c-a33468013317.htm" title="Convert Method " tocid="097cfdfe-d69f-d263-612c-a33468013317">Convert Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/09aaa9de-0353-b04f-53b0-541e73ff99f9.htm" title="ConvertBack Method " tocid="09aaa9de-0353-b04f-53b0-541e73ff99f9">ConvertBack Method </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn"><h1>InverseBoolConverter<span id="LST6011CE47_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST6011CE47_0?cpp=::|nu=.");</script>Convert Method </h1></td></tr></table><span class="introStyle"></span> <div class="summary"> Converts a boolean to its inverse. </div><p> </p>
<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.0.0 (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="ID0EDCA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cs','1','4');return false;">C#</a></div><div id="ID0EDCA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','vb','2','4');return false;">VB</a></div><div id="ID0EDCA_tab3" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;">C++</a></div><div id="ID0EDCA_tab4" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDCA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDCA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDCA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="identifier">Object</span> <span class="identifier">Convert</span>(
<span class="identifier">Object</span> <span class="parameter">value</span>,
<span class="identifier">Type</span> <span class="parameter">targetType</span>,
<span class="identifier">Object</span> <span class="parameter">parameter</span>,
<span class="identifier">CultureInfo</span> <span class="parameter">culture</span>
)</pre></div><div id="ID0EDCA_code_Div2" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">Public</span> <span class="keyword">Function</span> <span class="identifier">Convert</span> (
<span class="parameter">value</span> <span class="keyword">As</span> <span class="identifier">Object</span>,
<span class="parameter">targetType</span> <span class="keyword">As</span> <span class="identifier">Type</span>,
<span class="parameter">parameter</span> <span class="keyword">As</span> <span class="identifier">Object</span>,
<span class="parameter">culture</span> <span class="keyword">As</span> <span class="identifier">CultureInfo</span>
) <span class="keyword">As</span> <span class="identifier">Object</span></pre></div><div id="ID0EDCA_code_Div3" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">public</span>:
<span class="keyword">virtual</span> <span class="identifier">Object</span>^ <span class="identifier">Convert</span>(
<span class="identifier">Object</span>^ <span class="parameter">value</span>,
<span class="identifier">Type</span>^ <span class="parameter">targetType</span>,
<span class="identifier">Object</span>^ <span class="parameter">parameter</span>,
<span class="identifier">CultureInfo</span>^ <span class="parameter">culture</span>
) <span class="keyword">sealed</span></pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">abstract</span> <span class="identifier">Convert</span> :
<span class="parameter">value</span> : <span class="identifier">Object</span> *
<span class="parameter">targetType</span> : <span class="identifier">Type</span> *
<span class="parameter">parameter</span> : <span class="identifier">Object</span> *
<span class="parameter">culture</span> : <span class="identifier">CultureInfo</span> <span class="keyword">-&gt;</span> <span class="identifier">Object</span>
<span class="keyword">override</span> <span class="identifier">Convert</span> :
<span class="parameter">value</span> : <span class="identifier">Object</span> *
<span class="parameter">targetType</span> : <span class="identifier">Type</span> *
<span class="parameter">parameter</span> : <span class="identifier">Object</span> *
<span class="parameter">culture</span> : <span class="identifier">CultureInfo</span> <span class="keyword">-&gt;</span> <span class="identifier">Object</span> </pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">value</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">System<span id="LST6011CE47_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST6011CE47_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Object</a><br /> The value produced by the binding source. </dd><dt><span class="parameter">targetType</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">System<span id="LST6011CE47_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST6011CE47_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Type</a><br /> The type of the binding target property. </dd><dt><span class="parameter">parameter</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">System<span id="LST6011CE47_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST6011CE47_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Object</a><br /> The converter parameter to use. </dd><dt><span class="parameter">culture</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/kx54z3k7" target="_blank">System.Globalization<span id="LST6011CE47_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST6011CE47_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>CultureInfo</a><br /> The culture to use in the converter. </dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a><br />
A converted value. If the method returns <span class="keyword"><span id="LST6011CE47_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST6011CE47_5?vb=Nothing|cpp=nullptr|nu=null");</script></span>, the valid null value is
used.
<h4 class="subHeading">Implements</h4><a href="http://msdn2.microsoft.com/en-us/library/ms590771" target="_blank">IValueConverter<span id="LST6011CE47_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST6011CE47_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Convert(Object, Type, Object, CultureInfo)</a><br /></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" />Exceptions</span></div><div id="ID2RBSection" class="collapsibleSection"><div class="tableSection"><table><tr><th>Exception</th><th>Condition</th></tr><tr><td><a href="http://msdn2.microsoft.com/en-us/library/03tbzscz" target="_blank">InvalidCastException</a></td><td> Thrown when an object cannot be cast to a required
type. </td></tr></table></div></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="571e5a65-b19d-80a7-fc52-e02575182e64.htm">InverseBoolConverter 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>