<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="../4_X02.xsl"?><ownershipDocument>    <schemaVersion>X0304</schemaVersion>    <documentType>4</documentType>    <periodOfReport>2012-02-29</periodOfReport>    <notSubjectToSection16>0</notSubjectToSection16>    <issuer>        <issuerCik>0000891024</issuerCik>        <issuerName>PATTERSON COMPANIES, INC.</issuerName>        <issuerTradingSymbol>PDCO</issuerTradingSymbol>    </issuer>    <reportingOwner>        <reportingOwnerId>            <rptOwnerCik>0001372341</rptOwnerCik>            <rptOwnerName>Henriques George L</rptOwnerName>        </reportingOwnerId>        <reportingOwnerAddress>            <rptOwnerStreet1>137 BARNUM ROAD</rptOwnerStreet1>            <rptOwnerStreet2></rptOwnerStreet2>            <rptOwnerCity>DEVENS</rptOwnerCity>            <rptOwnerState>MA</rptOwnerState>            <rptOwnerZipCode>01434</rptOwnerZipCode>            <rptOwnerStateDescription></rptOwnerStateDescription>        </reportingOwnerAddress>        <reportingOwnerRelationship>            <isDirector>0</isDirector>            <isOfficer>1</isOfficer>            <isTenPercentOwner>0</isTenPercentOwner>            <isOther>0</isOther>            <officerTitle>President - Subsidiary</officerTitle>        </reportingOwnerRelationship>    </reportingOwner>    <nonDerivativeTable>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2012-02-29</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>M</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>3438</value>                </transactionShares>                <transactionPricePerShare>                    <value>22.57</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>A</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>61043</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2012-02-29</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>3438</value>                </transactionShares>                <transactionPricePerShare>                    <value>32.0</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>57605</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </nonDerivativeTransaction>    </nonDerivativeTable>    <derivativeTable>        <derivativeTransaction>            <securityTitle>                <value>Employee Stock Options</value>            </securityTitle>            <conversionOrExercisePrice>                <value>22.57</value>                <footnoteId id="F1"/>            </conversionOrExercisePrice>            <transactionDate>                <value>2012-02-29</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>M</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>3438</value>                </transactionShares>                <transactionPricePerShare>                    <value>22.57</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <exerciseDate>                <footnoteId id="F2"/>            </exerciseDate>            <expirationDate>                <footnoteId id="F3"/>            </expirationDate>            <underlyingSecurity>                <underlyingSecurityTitle>                    <value>Common Stock</value>                </underlyingSecurityTitle>                <underlyingSecurityShares>                    <value>3438</value>                </underlyingSecurityShares>            </underlyingSecurity>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>7064</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </derivativeTransaction>    </derivativeTable>    <footnotes>        <footnote id="F1">Options granted as follows: 4,042 shares on 04/28/2003 at $19.965; and 3,022 shares on 04/26/2004 at $38.50.</footnote>        <footnote id="F2">Options are exercisable as follows: 4,042 shares on 04/28/2012; and 3,022 shares on 04/26/2013.</footnote>        <footnote id="F3">All grants expire 10 years after grant date.</footnote>    </footnotes>    <ownerSignature>        <signatureName>Matthew L. Levitt, by Power of Attorney</signatureName>        <signatureDate>2012-02-29</signatureDate>    </ownerSignature></ownershipDocument>